org.gvsig.tools.visitor
Class VisitCanceledException

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

public class VisitCanceledException
extends BaseException

Exception thrown when a visit of a Visitor is cancelled.

This exception must be catched by a Visitable when is processing a Visitor and cancel the process.

A Visitor must throw this exception if it wants to cancel a visit in progress.

Author:
2009- César Ordiñana - gvSIG team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gvsig.tools.exception.BaseException
code, formatString, messageKey
 
Constructor Summary
VisitCanceledException()
          Creates a new VisitCanceledException.
VisitCanceledException(Throwable cause)
          Creates a new VisitCanceledException with a cause.
 
Method Summary
 
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, values
 
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

VisitCanceledException

public VisitCanceledException()
Creates a new VisitCanceledException.


VisitCanceledException

public VisitCanceledException(Throwable cause)
Creates a new VisitCanceledException with a cause.

Parameters:
cause - of the exception


Copyright © 2004-2011 gvSIG. All Rights Reserved.