| Bookshelf Home | Contents | Index | PDF | ![]() |
|
Siebel VB Language Reference > Using Siebel VB > About Error Handling > Handling Errors That a Siebel VB Method ReturnsYou must configure Siebel CRM to handle an error that a Siebel VB method returns differently from how you configure it to handle an error that a Visual Basic function or statement returns. To handle an error that a Siebel VB method creates, you use the following code. This code displays the text of the error message:
A Siebel VB method uses numeric error codes in the range of 4000 through 4999. Note that DisplayError is a label and is the target of a Go To statement that exists elsewhere in the code. The GetLastErrText method is available only through an interface that is external to Siebel Tools. You can use it in Microsoft Visual Basic but not in Siebel VB. For more information, see Siebel Object Interfaces Reference. |
![]() |
![]() |
| Siebel VB Language Reference | Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |