org.oddjob.structural
Class OddjobChildException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.oddjob.OddjobException
org.oddjob.structural.OddjobChildException
- All Implemented Interfaces:
- Serializable
public class OddjobChildException
- extends OddjobException
An exception which can be thrown by a Strutured node
which is cascading a child exception upwards.
This has no cause as this 'cause' as this causes unnecessary
stack trace in logs. The child exception is available via
the getChildException method if required
- See Also:
- Serialized Form
- Author:
- Rob Gordon
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OddjobChildException
public OddjobChildException(Throwable childException,
String childName)
- Constructs a new oddjob excpetion with the given message an cause.
- Parameters:
childException
- The child Exception.childName
- The childs name.
getChildException
public Throwable getChildException()
getChildName
public String getChildName()