Exception Object
If an operation fails, then the Siebel eScript engine creates an exception in the exception object.
The following table describes the arguments for the exception object.
Argument | Description |
---|---|
errCode |
Contains the error number. |
errText |
Contains a textual description of the error. |
Example
The following example includes an exception object:
try
}
var oBO = TheApplication().GetService(“Incorrect name”);
}
catch (e)
}
var sText = e.errText;
var nCode = e.errCode;
}