- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.interacto.binding.MustBeUndoableCmdException
-
- All Implemented Interfaces:
Serializable
public class MustBeUndoableCmdException extends RuntimeException
This exception must be launched when a command which is not undoable want to be undone or redone.- Author:
- Arnaud BLOUIN
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MustBeUndoableCmdException(Class<?> clazz)The default constructor of the exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MustBeUndoableCmdException
public MustBeUndoableCmdException(Class<?> clazz)
The default constructor of the exception.- Parameters:
clazz- The class of the command that want to be undone/redone.
-
-