java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.command.CommandRuntimeException
org.refcodes.command.NoExceptionAvailableRuntimeException
- All Implemented Interfaces:
Serializable
,UndoableAccessor
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
public class NoExceptionAvailableRuntimeException extends CommandRuntimeException
The Class NoExceptionAvailableRuntimeException.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
Nested classes/interfaces inherited from interface org.refcodes.command.UndoableAccessor
UndoableAccessor.UndoableBuilder<CTX,R,E extends Exception,B extends UndoableAccessor.UndoableBuilder<CTX,R,E,B>>, UndoableAccessor.UndoableMutator<CTX,R,E extends Exception>, UndoableAccessor.UndoableProperty<CTX,R,E extends Exception>
-
Constructor Summary
Constructors Constructor Description NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, String message)
Instantiates a new no exception available runtime exception.NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, String aMessage, String aErrorCode)
Instantiates a new no exception available runtime exception.NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, String message, Throwable cause)
Instantiates a new no exception available runtime exception.NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new no exception available runtime exception.NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, Throwable cause)
Instantiates a new no exception available runtime exception.NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, Throwable aCause, String aErrorCode)
Instantiates a new no exception available runtime exception. -
Method Summary
Modifier and Type Method Description Undoable
getUndoable()
Gets the undoable.Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoExceptionAvailableRuntimeException
public NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, String aMessage, String aErrorCode)Instantiates a new no exception available runtime exception.- Parameters:
aCommand
- the commandaMessage
- the messageaErrorCode
- the error code
-
NoExceptionAvailableRuntimeException
public NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, String aMessage, Throwable aCause, String aErrorCode)Instantiates a new no exception available runtime exception.- Parameters:
aCommand
- the commandaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
NoExceptionAvailableRuntimeException
public NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, String message, Throwable cause)Instantiates a new no exception available runtime exception.- Parameters:
aCommand
- the commandmessage
- the messagecause
- the cause
-
NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.- Parameters:
aCommand
- the commandmessage
- the message
-
NoExceptionAvailableRuntimeException
public NoExceptionAvailableRuntimeException(Undoable<?,?,?> aCommand, Throwable aCause, String aErrorCode)Instantiates a new no exception available runtime exception.- Parameters:
aCommand
- the commandaCause
- the causeaErrorCode
- the error code
-
NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.- Parameters:
aCommand
- the commandcause
- the cause
-
-
Method Details
-
getUndoable
Gets the undoable.- Specified by:
getUndoable
in interfaceUndoableAccessor
- Returns:
- the undoable
-