tester
Class IllegalUseOfTraversalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by tester.IllegalUseOfTraversalException
All Implemented Interfaces:
Serializable

public class IllegalUseOfTraversalException
extends RuntimeException

Exception to be raised on an attempt to advance a traversal over an empty collection or to produce the first element of an empty collection.

Author:
Viera K. Proulx
See Also:
Serialized Form

Constructor Summary
IllegalUseOfTraversalException()
          Constructs a new exception with null as its detail message.
IllegalUseOfTraversalException(String message)
          Constructs a new exception with the specified detail message.
IllegalUseOfTraversalException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
IllegalUseOfTraversalException(Throwable cause)
          Constructs a new exception with the specified cause and a detail message.
 
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

IllegalUseOfTraversalException

public IllegalUseOfTraversalException()
Constructs a new exception with null as its detail message.


IllegalUseOfTraversalException

public IllegalUseOfTraversalException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the error message

IllegalUseOfTraversalException

public IllegalUseOfTraversalException(String message,
                                      Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the error message
cause - the cause for the message

IllegalUseOfTraversalException

public IllegalUseOfTraversalException(Throwable cause)
Constructs a new exception with the specified cause and a detail message.

Parameters:
cause - the cause for the message