org.oddjob
Class OddjobException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.oddjob.OddjobException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OddjobChildException, OddjobConfigException

public class OddjobException
extends RuntimeException

An exception to be used by Oddjob jobs.

See Also:
Serialized Form
Author:
Rob Gordon

Constructor Summary
OddjobException()
          Constructs a new oddjob exception with no message an no cause.
OddjobException(String s)
          Constructs a new Oddjob exception with given message.
OddjobException(String s, Throwable t)
          Constructs a new oddjob excpetion with the given message an cause.
OddjobException(Throwable t)
          Constructs a new Oddjob exception with the given cause.
 
Method Summary
 
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

OddjobException

public OddjobException()
Constructs a new oddjob exception with no message an no cause.


OddjobException

public OddjobException(String s,
                       Throwable t)
Constructs a new oddjob excpetion with the given message an cause.

Parameters:
s - The message.
t - The cause.

OddjobException

public OddjobException(Throwable t)
Constructs a new Oddjob exception with the given cause.

Parameters:
t - The cause.

OddjobException

public OddjobException(String s)
Constructs a new Oddjob exception with given message.

Parameters:
s - The message.