net.sf.genuine.exceptions
Class GenuineRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynet.sf.genuine.exceptions.GenuineRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ServiceNotFoundException

public class GenuineRuntimeException
extends java.lang.RuntimeException

Super class for all runtime 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.RuntimeException
 
Constructor Summary
GenuineRuntimeException()
           
GenuineRuntimeException(java.lang.String message)
           
GenuineRuntimeException(java.lang.String message, java.lang.Throwable cause)
           
GenuineRuntimeException(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

GenuineRuntimeException

public GenuineRuntimeException()

GenuineRuntimeException

public GenuineRuntimeException(java.lang.String message)

GenuineRuntimeException

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

GenuineRuntimeException

public GenuineRuntimeException(java.lang.Throwable cause)