com.google.gdata.model
Class ElementVisitor.StoppedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.gdata.model.ElementVisitor.StoppedException
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing interface:
- ElementVisitor
public static class ElementVisitor.StoppedException
- extends java.lang.RuntimeException
The StoppedException is thrown by ElementVisitor instances to
immediately exit from element tree processing. The is a runtime
exception because the common case is that traversal will run to
completion and stopping is considered an abnormal termination.
Specific ElementVisitor implementations may define sub-types to signal
specific exit conditions, in which case code that uses this type of visitor
may want to catch a service the stop conditions if they are expected and
convey useful information.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ElementVisitor.StoppedException
public ElementVisitor.StoppedException(java.lang.String message,
java.lang.Throwable cause)
ElementVisitor.StoppedException
public ElementVisitor.StoppedException(java.lang.String message)
ElementVisitor.StoppedException
public ElementVisitor.StoppedException(java.lang.Throwable cause)