Siebel eScript Language Reference > Siebel eScript Commands >

Exception Objects


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

Properties

errCode (This property contains the error number.)

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

The following example shows the Exception object:

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

Siebel eScript Language Reference Copyright © 2007, Oracle. All rights reserved.