hamsam.exception
Class IllegalStateException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--hamsam.exception.HamsamException
                    |
                    +--hamsam.exception.IllegalStateException
All Implemented Interfaces:
java.io.Serializable

public class IllegalStateException
extends HamsamException

Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Hamsam API is not in an appropriate state for the requested operation.

See Also:
Serialized Form

Constructor Summary
IllegalStateException()
          Constructs an IllegalStateException with no detailed message.
IllegalStateException(java.lang.String message)
          Constructs an IllegalStateException with the specified detail message.
 
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

IllegalStateException

public IllegalStateException()
Constructs an IllegalStateException with no detailed message.


IllegalStateException

public IllegalStateException(java.lang.String message)
Constructs an IllegalStateException with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.