Class actuate.Exception
Exception Exception object sent to the callback function when an exception occurs
Member of: actuate.
Constructor Attributes | Constructor Name and Description |
---|---|
Exception object.
|
Field Attributes | Field Name and Description |
---|---|
<static> <constant> |
Exception type for client side error
|
<static> <constant> |
Exception type for server error.
|
<static> <constant> |
Exception type for api usage error
|
Method Attributes | Method Name and Description |
---|---|
Return description
- soap string for ERR_SERVER,
- fileName+number+stack for ERR_CLIENT(firefox only),
- And as for ERR_USER anything set when creating this object
|
|
Return error code for ERR_SERVER
|
|
Return short message about exception
|
|
getType()
Return the type of exception error
|
|
isExceptionType(exceptionType)
Returns whether this exception instance is of the given type.
|
Field Detail
<static> <constant>
ERR_CLIENT
Exception type for client side error
<static> <constant>
ERR_SERVER
Exception type for server error.
<static> <constant>
ERR_USAGE
Exception type for api usage error
Method Detail
{String} getDescription()
Return description
- soap string for ERR_SERVER,
- fileName+number+stack for ERR_CLIENT(firefox only),
- And as for ERR_USER anything set when creating this object
- Returns:
- {String} detail description of error
{String} getErrCode()
Return error code for ERR_SERVER
- Returns:
- {String} error code for ERR_SERVER
{String} getMessage()
Return short message about exception
- Returns:
- {String} errMsg short message about the exception
{String} getType()
Return the type of exception error
- Returns:
- {String} errType Type of exception
{boolean} isExceptionType(exceptionType)
Returns whether this exception instance is of the given type.
- Parameters:
- {Object} exceptionType
- exception type as string, or exception class. Examples: "actuate.viewer.ViewerException" or actuate.viewer.ViewerException
- Returns:
- {boolean} true if the exception is of the given type