Classes


Class actuate.viewer.ViewerException

The ViewerException class represents a viewer exception.
Member of: actuate.viewer.

Class Summary
Constructor Attributes Constructor Name and Description
 
The ViewerException class represents a viewer exception.
Field Summary
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 Summary
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
 
Returns an instance of the currently selected element.
 
Return error code for ERR_SERVER
 
Returns the exception message.
 
Return short message about exception
 
Return the type of exception error
 
isExceptionType(exceptionType)
Returns whether this exception instance is of the given type.
Class Detail
actuate.viewer.ViewerException()
The ViewerException class represents a viewer exception.
See:
actuate.viewer.EventConstants
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

{Object} getElement()
Returns an instance of the currently selected element. The instance can be one of the following objects: To determine the object type, use the Object.getType( ) function. The type strings for the above objects are "Chart", "Data", "Label", "Table", or "Text", respectively. This example displays the type of element that generated the exception in an alert box:
	alert("Exception in " + vException.getElement.getType( ));
Returns:
{Object} report element for which the exception occurred.

{String} getErrCode()
Return error code for ERR_SERVER
Returns:
{String} error code for ERR_SERVER

{String} getErrorMessage()
Returns the exception message. This example displays the server error code in an alert box:
	alert("Server error message: " + vException.getErrorMessage( ));
Returns:
{String} exception message

{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

Documentation generated by JsDoc Toolkit 2.0.1 on Tue Jan 29 2013 05:44:22 GMT-0800 (PST)