com.taursys.xml.event
Class RecycleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.taursys.util.ChainedException
              extended bycom.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

Field Summary
static int REASON_DOCUMENT_IS_NULL
           
static int REASON_MODEL_EXCEPTION
           
static int REASON_OFFSET
           
static int REASON_PARENT_CONTAINER_NULL
           
 
Fields inherited from class com.taursys.util.ChainedException
cause, diagnosticInfo, reason, REASON_INVALID_REASON_CODE, REASON_UNSPECIFIED, userFriendlyMessage
 
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 com.taursys.util.ChainedException
getCause, getDiagnosticInfo, getInvalidMessage, getLocalizedMessage, getReason, getUserFriendlyMessage, main, printStackTrace, printStackTrace, printStackTrace
 
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
 

Field Detail

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
Constructor Detail

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.

Method Detail

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.