java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.command.CommandRuntimeException
org.refcodes.command.NoResultAvailableRuntimeException
- All Implemented Interfaces:
Serializable
,UndoableAccessor
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
The Class NoResultAvailableRuntimeException.
- See Also:
-
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
ConstructorDescriptionNoResultAvailableRuntimeException
(Undoable<?, ?, ?> aCommand, String aMessage) Instantiates a new no result available runtime exception.NoResultAvailableRuntimeException
(Undoable<?, ?, ?> aCommand, String aMessage, String aErrorCode) Instantiates a new no result available runtime exception.NoResultAvailableRuntimeException
(Undoable<?, ?, ?> aCommand, String aMessage, Throwable aCause) Instantiates a new no result available runtime exception.NoResultAvailableRuntimeException
(Undoable<?, ?, ?> aCommand, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new no result available runtime exception.NoResultAvailableRuntimeException
(Undoable<?, ?, ?> aCommand, Throwable aCause) Instantiates a new no result available runtime exception.NoResultAvailableRuntimeException
(Undoable<?, ?, ?> aCommand, Throwable aCause, String aErrorCode) Instantiates a new no result available runtime exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
NoResultAvailableRuntimeException
public NoResultAvailableRuntimeException(Undoable<?, ?, ?> aCommand, String aMessage, String aErrorCode) Instantiates a new no result available runtime exception.- Parameters:
aCommand
- the commandaMessage
- The aMessage describing this exception.aErrorCode
- The error code identifying this exception.
-
NoResultAvailableRuntimeException
public NoResultAvailableRuntimeException(Undoable<?, ?, ?> aCommand, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new no result available runtime exception. -
NoResultAvailableRuntimeException
public NoResultAvailableRuntimeException(Undoable<?, ?, ?> aCommand, String aMessage, Throwable aCause) Instantiates a new no result available runtime exception. -
NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.- Parameters:
aCommand
- the commandaMessage
- The aMessage describing this exception.
-
NoResultAvailableRuntimeException
public NoResultAvailableRuntimeException(Undoable<?, ?, ?> aCommand, Throwable aCause, String aErrorCode) Instantiates a new no result available runtime exception. -
NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.
-
-
Method Details
-
getUndoable
Gets the undoable.- Specified by:
getUndoable
in interfaceUndoableAccessor
- Returns:
- the undoable
-