org.malai.instrument
Class MustBeUndoableActionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.malai.instrument.MustBeUndoableActionException
- All Implemented Interfaces:
- java.io.Serializable
public class MustBeUndoableActionException
- extends java.lang.RuntimeException
This exception must be launched when an action which is not undoable want to be undone or redone.
This file is part of libMalai.
Copyright (c) 2009-2012 Arnaud BLOUIN
libMalan is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
libMalan is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
- Since:
- 0.1
- Version:
- 0.2
- Author:
- Arnaud BLOUIN
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Class<?> |
clazz
The class of the action that want to be undone/redone. |
private static long |
serialVersionUID
|
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
clazz
protected java.lang.Class<?> clazz
- The class of the action that want to be undone/redone.
MustBeUndoableActionException
public MustBeUndoableActionException(java.lang.Class<?> clazz)
- The default constructor of the exception.
- Parameters:
clazz
- The class of the action that want to be undone/redone.- Since:
- 0.1
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable