JavaScript Client SDK
Class Index | File Index

Classes


Class Exception

An Exception object represents a general exception.

Methods of classes in the JavaScript API, such as HTTPAgent.del() and HTTPAgent.get(), take an optional callback parameter that defines success(), error(), and complete() callback methods. An Exception object is passed to the error() method describing any exception.


Defined in: Exception.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Exception(message, info)
Create an Exception object contains information about an exception.
Field Summary
Field Attributes Field Name and Description
 
JSON object containing information about the exception.
 
Description of what caused the exception.
Method Summary
Method Attributes Method Name and Description
 
Returns a String representation of the exception.
Class Detail
Exception(message, info)
Create an Exception object contains information about an exception.
Parameters:
{String} message
Description of what caused the exception.
{Object} info Optional
JSON object containing information about the exception.
Since:
1.0
Field Detail
{Object} info
JSON object containing information about the exception.
{String} message
Description of what caused the exception.
Method Detail
toString()
Returns a String representation of the exception. The String has the form:

"[exceptionName] exceptionMessage"

where exceptionName is the type of the exception object, such as Exception or ServerException.

Since:
1.0

©2013 Verivo Software, Inc. Documentation generated by JsDoc Toolkit 2.4.0 on Mon Apr 27 2015 15:06:19 GMT-0400 (EDT)