hamsam.exception
Class HamsamException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--hamsam.exception.HamsamException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IllegalArgumentException, IllegalStateException, UnsupportedOperationException

public class HamsamException
extends java.lang.Exception

HamsamException is the superclass of all exceptions thrown by the Hamsam API.

See Also:
Serialized Form

Constructor Summary
HamsamException()
          Constructs a new Hamsam exception with null as its detailed message.
HamsamException(java.lang.String message)
          Constructs a new Hamsam exception 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

HamsamException

public HamsamException()
Constructs a new Hamsam exception with null as its detailed message.


HamsamException

public HamsamException(java.lang.String message)
Constructs a new Hamsam exception with the specified detail message.

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