Scripting Exceptions

In addition to the standard Java exceptions, the following xMatters exceptions may be thrown during script execution:

Exception

Description

AlarmPointInvalidDataExeption

Thrown when the data is invalid.

AlarmPointInvalidLicenseException

Thrown if the provided License fails the checksum, usually due to being tampered with or corrupt.

AlarmPointDatabaseAccessException

Thrown when an errors occurs while attempting to access the database.

AlarmPointInvalidArgumentException

Thrown when an invalid argument is passed to a method.

AlarmPointIncompleteInitialization-Exception

Thrown when the object being used has not been properly initialized.

PhoneApiException

Thrown to indicate a failure to execute a phone API. Typically, this failure occurs while interacting with the underlying tool-kit and hardware.

PhoneHangupException

Thrown to indicate a remote phone hangup.

PhoneTimeoutException

Thrown to indicate a timeout while the phone was waiting for input.

System Tokens

Introduction to Scripting