public class DropletFormException extends DropletException
Represents an exception that might occur when delivering a droplet event.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
DropletFormException(java.lang.String pStr,
java.lang.String pPath)
Constructs a new DropletFormException with the given explanation
|
DropletFormException(java.lang.String pStr,
java.lang.String pPath,
java.lang.String pMessageCode)
Constructs a new DropletFormException with the given explanation.
|
DropletFormException(java.lang.String pStr,
java.lang.Throwable pRootCause,
java.lang.String pPath)
Constructs a new DropletFormException with the given explanation
and root exception.
|
DropletFormException(java.lang.String pStr,
java.lang.Throwable pRootCause,
java.lang.String pPath,
java.lang.String pMessageCode)
Constructs a new DropletFormException with the given explanation,
root exception, path name to the property that caused the exception,
and the messageCode for the exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyName()
Returns the name of the property that generated this exception
|
java.lang.String |
getPropertyPath()
Returns the path name of the property that generated this exception
|
java.lang.String |
toString()
Returns a description of this DropletException object.
|
getErrorCode
public DropletFormException(java.lang.String pStr, java.lang.String pPath)
pStr
- explanation for form exceptionpPath
- full path to the form handler property associated
with the exception, e.g. /foo/bar.namepublic DropletFormException(java.lang.String pStr, java.lang.String pPath, java.lang.String pMessageCode)
pStr
- explanation for form exceptionpPath
- full path to the form handler property associated
with the exception, e.g. /foo/bar.namepMessageCode
- message code for this exceptionpublic DropletFormException(java.lang.String pStr, java.lang.Throwable pRootCause, java.lang.String pPath)
pStr
- explanation for form exceptionpRootCause
- root exceptionpPath
- full path to the form handler property associated
with the exception, e.g. /foo/bar.namepublic DropletFormException(java.lang.String pStr, java.lang.Throwable pRootCause, java.lang.String pPath, java.lang.String pMessageCode)
pStr
- explanation for form exceptionpRootCause
- root exceptionpPath
- full path to the form handler property associated
with the exception, e.g. /foo/bar.namepMessageCode
- message code for this exceptionpublic java.lang.String getPropertyPath()
public java.lang.String getPropertyName()
public java.lang.String toString()
DropletException
toString
in class DropletException