public class DException
extends java.lang.RuntimeException
Constructor and Description |
---|
DException() |
DException(java.lang.Object error) |
DException(java.lang.String message,
java.lang.Object error) |
DException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getError()
Returns the Duro error as a Java object.
|
java.lang.String |
toString() |
public DException()
public DException(java.lang.Throwable cause)
public DException(java.lang.Object error)
public DException(java.lang.String message, java.lang.Object error)
public java.lang.Object getError()
PossrepObject
whose msg property (if
present, not all Duro errors have a msg property) is the error message.public java.lang.String toString()
toString
in class java.lang.Throwable