| Bookshelf Home | Contents | Index | PDF | ![]() |
|
Siebel VB Language Reference > Using Siebel VB > About Error Handling > Handling Custom ErrorsTo handle errors that are specific to your code, you can create a custom set of error codes. For example, you can create your own set of error codes if your Siebel VB code creates rules for file input but the user does not follow these rules. You can configure Siebel VB to create an error and reply appropriately using the same statements and functions that you use for error codes that Siebel VB returns. Handling Custom Errors In the Body of the CodeFigure 4 includes an example that handles a custom error in the body of the code. Explanation of CalloutsThe example that handles a custom error in the body of the code includes the following items:
Handling Custom Errors With a LabelFigure 5 includes an example that handles a custom error with a label. Explanation of CalloutsThe example that handles a custom error with a label includes the following items: |
![]() |
![]() |
| Siebel VB Language Reference | Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |