Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel VB Language Reference > Using Siebel VB > About Error Handling > Handling Custom ErrorsYou can create a custom set of error codes to handle errors that are specific to your code. 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. Using the Body of the Code to Handle Custom ErrorsFigure 4 includes an example that uses the body of the code to handle a custom error. Explanation of CalloutsThe example that uses the body of the code to handle a custom error includes the following items:
Using a Label to Handle Custom ErrorsFigure 5 includes an example that uses a label to handle a custom error. Explanation of CalloutsThe example that uses a label to handle a custom error includes the following items: |
![]() ![]() |
Siebel VB Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |