Package org.refcodes.command
Class NotUndoableRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.command.CommandRuntimeException
-
- org.refcodes.command.NotUndoableRuntimeException
-
- All Implemented Interfaces:
UndoableAccessor
public class NotUndoableRuntimeException extends CommandRuntimeException
The Class NotUndoableRuntimeException.- 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 java.lang.Exception,B extends UndoableAccessor.UndoableBuilder<CTX,R,E,B>>, UndoableAccessor.UndoableMutator<CTX,R,E extends java.lang.Exception>, UndoableAccessor.UndoableProperty<CTX,R,E extends java.lang.Exception>
-
-
Constructor Summary
Constructors Constructor Description NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String message)
Instantiates a new not undoable runtime exception.NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new not undoable runtime exception.NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String message, java.lang.Throwable cause)
Instantiates a new not undoable runtime exception.NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new not undoable runtime exception.NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.Throwable cause)
Instantiates a new not undoable runtime exception.NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new not undoable runtime exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Undoable
getUndoable()
Gets the undoable.
-
-
-
Constructor Detail
-
NotUndoableRuntimeException
public NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new not undoable runtime exception.- Parameters:
aCommand
- the commandaMessage
- the messageaErrorCode
- the error code
-
NotUndoableRuntimeException
public NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new not undoable runtime exception.- Parameters:
aCommand
- the commandaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
NotUndoableRuntimeException
public NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String message, java.lang.Throwable cause)
Instantiates a new not undoable runtime exception.- Parameters:
aCommand
- the commandmessage
- the messagecause
- the cause
-
NotUndoableRuntimeException
public NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.String message)
Instantiates a new not undoable runtime exception.- Parameters:
aCommand
- the commandmessage
- the message
-
NotUndoableRuntimeException
public NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new not undoable runtime exception.- Parameters:
aCommand
- the commandaCause
- the causeaErrorCode
- the error code
-
NotUndoableRuntimeException
public NotUndoableRuntimeException(Undoable<?,?,?> aCommand, java.lang.Throwable cause)
Instantiates a new not undoable runtime exception.- Parameters:
aCommand
- the commandcause
- the cause
-
-
Method Detail
-
getUndoable
public Undoable getUndoable()
Gets the undoable.- Specified by:
getUndoable
in interfaceUndoableAccessor
- Returns:
- the undoable
-
-