net.sf.genuine.exceptions
Class GenuineException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sf.genuine.exceptions.GenuineException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConfigurationException, OperationFailedException

public class GenuineException
extends java.lang.Exception

Super class for all exceptions thrown by Genuine.

When an object of this exception class is created both the message and the causing exception, if available, are logged. Therefore, code using this exception does not have to perform additional logging, neither when throwing a sub class of this exception nor when catching it.

Author:
Tim Wellhausen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
GenuineException()
           
GenuineException(java.lang.String message)
           
GenuineException(java.lang.String message, java.lang.Throwable cause)
           
GenuineException(java.lang.Throwable cause)
           
 
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

GenuineException

public GenuineException()

GenuineException

public GenuineException(java.lang.String message)

GenuineException

public GenuineException(java.lang.String message,
                        java.lang.Throwable cause)

GenuineException

public GenuineException(java.lang.Throwable cause)