com.virtualweaver.xotics.datamodel
Class XoRedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.virtualweaver.xotics.datamodel.XoException
com.virtualweaver.xotics.datamodel.XoRedirectException
- All Implemented Interfaces:
- java.io.Serializable
- public class XoRedirectException
- extends XoException
This exception serves to embed another exception occurred and intercepted. It's equivalent to
a standard XoException
with reason set to XoException.THROWABLE_OCCURRED
.
- Version:
- 4.1
- See Also:
- Serialized Form
Fields inherited from class com.virtualweaver.xotics.datamodel.XoException |
ADD_ERROR, DMI_LOCKED, DMI_NOT_OWNER, DMI_RELEASED, DMM_LOAD, ILLEGAL_ARGUMENT, INVALID_DATAMODEL, INVALID_OBJECT, NO_SUCH_DATAMODEL, NO_SUCH_OBJECT, NOT_REQUESTABLE, OBJECT_NOT_WELCOME, READ_ONLY, ROOT_MOVE, THROWABLE_OCCURRED, UNKNOWN_REASON, VALIDITY_CHECKING, XPATH_REQUEST_COMPUTING, XPATH_REQUEST_PARSING |
Constructor Summary |
XoRedirectException(java.lang.String id,
java.lang.Throwable t,
java.lang.String d)
Constructor. |
XoRedirectException(java.lang.Throwable t,
java.lang.String d)
Constructor. |
Method Summary |
java.lang.Throwable |
getThrowable()
Returns the Throwable intercepted. |
java.lang.String |
toString()
Returns a String representation of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XoRedirectException
public XoRedirectException(java.lang.String id,
java.lang.Throwable t,
java.lang.String d)
- Constructor.
- Parameters:
id
- localized error idt
- Throwable intercepted and embeddedd
- string details
XoRedirectException
public XoRedirectException(java.lang.Throwable t,
java.lang.String d)
- Constructor.
- Parameters:
t
- Throwable intercepted and embeddedd
- string details
getThrowable
public java.lang.Throwable getThrowable()
- Returns the Throwable intercepted.
- Returns:
- a Throwable object
toString
public java.lang.String toString()
- Description copied from class:
XoException
- Returns a String representation of this exception.
- Overrides:
toString
in class XoException
- Returns:
- a string representation of this exception