Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands >
The Exception Object
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.)
Methods
toLocaleString() Method and toString() Method
Here is an example of the Exception object:
try
}
var oBO = TheApplication().GetService("Incorrect name");
}
catch (e)
}
var sText = e.errText;
var nCode = e.errCode;
}
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |