com.google.gdata.model
Class ElementVisitor.StoppedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
ElementVisitor.StoppedException(java.lang.String message)
           
ElementVisitor.StoppedException(java.lang.String message, java.lang.Throwable cause)
           
ElementVisitor.StoppedException(java.lang.Throwable cause)
           
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)