Siebel eScript Language Reference > Siebel eScript Commands >

The Exception Object

The Exception object contains exceptions being thrown in the case of a failed operation.


errCode (This property contains the error number.)

errText (This property contains a textual description of the error.)

The following example shows the Exception object:

   var oBO = TheApplication().GetService("Incorrect name");
catch (e)
   var sText = e.errText;
   var nCode = e.errCode;

Siebel eScript Language Reference