org.garret.serme
Class SermeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.garret.serme.SermeException
All Implemented Interfaces:
java.io.Serializable

public class SermeException
extends java.lang.RuntimeException

Exception thrown by this SerMe when something is going wrong. It is runtime exception, so it has not to be listed in throws clause or catched

See Also:
Serialized Form

Constructor Summary
SermeException(java.lang.Exception x)
          Constructor of exception.
SermeException(java.lang.String msg)
          Constructor of exception
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SermeException

public SermeException(java.lang.Exception x)
Constructor of exception. Wrap thrown exception with SermeException

Parameters:
x - original exception

SermeException

public SermeException(java.lang.String msg)
Constructor of exception

Parameters:
msg - message explaining the reason of the problem