Package org.refcodes.exception
Class LockedException.LockedRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.exception.LockedException.LockedRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
,ErrorCodeAccessor
,Trap
- Enclosing class:
- LockedException
public static class LockedException.LockedRuntimeException extends AbstractRuntimeException implements java.io.Serializable
Thrown in case an instance being locked is still being accessed in a modifying way (seeorg.refcodes.mixin.Lockable
in the refcodes-mixin artifact).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description LockedRuntimeException(java.lang.String message)
Instantiates a new locked runtime exception.LockedRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new locked runtime exception.LockedRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new locked runtime exception.LockedRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new locked runtime exception.LockedRuntimeException(java.lang.Throwable cause)
Instantiates a new locked runtime exception.LockedRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new locked runtime exception.
-
Method Summary
-
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode
-
-
-
-
Constructor Detail
-
LockedRuntimeException
public LockedRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new locked runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
LockedRuntimeException
public LockedRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new locked runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
LockedRuntimeException
public LockedRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new locked runtime exception.- Parameters:
message
- the messagecause
- the cause
-
LockedRuntimeException
public LockedRuntimeException(java.lang.String message)
Instantiates a new locked runtime exception.- Parameters:
message
- the message
-
LockedRuntimeException
public LockedRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new locked runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
LockedRuntimeException
public LockedRuntimeException(java.lang.Throwable cause)
Instantiates a new locked runtime exception.- Parameters:
cause
- the cause
-
-