com.taursys.xml.event
Class RecycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.taursys.util.ChainedException
com.taursys.xml.event.RecycleException
- All Implemented Interfaces:
- java.io.Serializable
- public class RecycleException
- extends ChainedException
General Exception for problems encountered during recycling.
- See Also:
- Serialized Form
Constructor Summary |
RecycleException(int reason)
Creates a RecycleException with a reason code (which will display its message). |
RecycleException(int reason,
java.lang.Throwable cause)
Creates a RecycleException with a reason code (which will display its message) and cause. |
Method Summary |
static java.lang.String |
getReasonMessage(int reason)
Returns String for given reason code else String for REASON_INVALID_REASON_CODE. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REASON_OFFSET
public static final int REASON_OFFSET
- See Also:
- Constant Field Values
REASON_MODEL_EXCEPTION
public static final int REASON_MODEL_EXCEPTION
- See Also:
- Constant Field Values
REASON_PARENT_CONTAINER_NULL
public static final int REASON_PARENT_CONTAINER_NULL
- See Also:
- Constant Field Values
REASON_DOCUMENT_IS_NULL
public static final int REASON_DOCUMENT_IS_NULL
- See Also:
- Constant Field Values
RecycleException
public RecycleException(int reason)
- Creates a RecycleException with a reason code (which will display its message).
RecycleException
public RecycleException(int reason,
java.lang.Throwable cause)
- Creates a RecycleException with a reason code (which will display its message) and cause.
getReasonMessage
public static java.lang.String getReasonMessage(int reason)
- Returns String for given reason code else String for REASON_INVALID_REASON_CODE.
Copyright © 2007 Martin T Phelan. All Rights Reserved.