org.gvsig.tools.undo
Class RedoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gvsig.tools.exception.BaseException
              extended by org.gvsig.tools.undo.RedoException
All Implemented Interfaces:
Serializable, IBaseException

public class RedoException
extends BaseException

Exception thrown when there is an error while performing an redo.

Author:
Cèsar Ordiñana
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gvsig.tools.exception.BaseException
code, formatString, messageKey
 
Constructor Summary
RedoException(UndoRedoInfo undoRedoInfo)
          Creates a new exception of an error while performing a redo operation.
RedoException(UndoRedoInfo undoRedoInfo, Throwable cause)
          Creates a new exception of an error while performing a redo operation.
 
Method Summary
protected  Map values()
           
 
Methods inherited from class org.gvsig.tools.exception.BaseException
getCode, getFormatString, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessage, getMessage, getMessageKey, getMessageStack, getMessageStack, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValue
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RedoException

public RedoException(UndoRedoInfo undoRedoInfo)
Creates a new exception of an error while performing a redo operation.

Parameters:
undoRedoInfo - the information of the element that could not be redone

RedoException

public RedoException(UndoRedoInfo undoRedoInfo,
                     Throwable cause)
Creates a new exception of an error while performing a redo operation.

Parameters:
undoRedoInfo - the information of the element that could not be redone
cause - the original cause of the exception
Method Detail

values

protected Map values()
Overrides:
values in class BaseException
Returns:
A map that serves to replace in the format string the keys with the corresponding values.


Copyright © 2004-2011 gvSIG. All Rights Reserved.