Class actuate.ConnectionException
Description
A container for a connection exception. ConnectionException provides an object to pass to a error callback function when an exception occurs.
Constructor
The ConnectionException object is constructed when there is a connection issue. For example, actuate.ConnectionException is created when a wrong URL is given in actuate.initialize( ) or actuate.authenticate( ), or if the server was unreachable.
Function summary
Table 7‑4 describes actuate.ConnectionException functions.
Table 7‑4 actuate.ConnectionException function
Function
Description
getUrl( )
Returns the whole URL
getUrl
Syntax
string ConnectionException.getUrl( )
Returns the complete URL sent with the connection request. This URL is the provided Information Console URL plus any parameters provided as request options.
Returns
String. The complete URL that was sent with the connection request.
Example
This example calls ConnectionException.getUrl( ) to return the complete URL from a connection request:
alert ("Connection Error at " + ConnectionException.getUrl( ));