org.gvsig.tools.undo
Class UndoException

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.UndoException
All Implemented Interfaces:
Serializable, IBaseException

public class UndoException
extends BaseException

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

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
UndoException(UndoRedoInfo undoRedoInfo)
          Creates a new exception of an error while performing an undo operation.
UndoException(UndoRedoInfo undoRedoInfo, Throwable cause)
          Creates a new exception of an error while performing an undo 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

UndoException

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

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

UndoException

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

Parameters:
undoRedoInfo - the information of the element that could not be undone
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.