public class ObjectFrozenException extends RuntimeException
IFreezable.freeze()
.Constructor and Description |
---|
ObjectFrozenException()
Initializes a new instance.
|
ObjectFrozenException(Object frozenObject)
Initializes a new instance with a reference to the frozen object.
|
ObjectFrozenException(Object frozenObject,
RuntimeException inner)
Initializes a new instance with a specified frozen object and a reference to the inner
exception that is the cause of this exception.
|
ObjectFrozenException(String message)
Initializes a new instance.
|
ObjectFrozenException(String message,
RuntimeException innerException)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
getFrozenObject()
Gets the object that was frozen, if available.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ObjectFrozenException()
public ObjectFrozenException(String message)
message
- The message associated with the exception.public ObjectFrozenException(String message, RuntimeException innerException)
message
- The message associated with the exception.innerException
- The inner exception that caused this exception.public ObjectFrozenException(Object frozenObject)
frozenObject
- The object that is frozen.public ObjectFrozenException(Object frozenObject, RuntimeException inner)
frozenObject
- The object that is frozen.inner
- The exception that is the cause of the current exception.