Siebel VB Language Reference > Quick Reference for Siebel VB Methods > Error Handling Methods >

Error Handling Quick Reference


The following table lists methods for error handling.

Statement
Purpose
Reference

Erl

Returns a number that identifies the code line where an error occurred.

Get Error Code Line Method

Err

Returns the error code of the last Visual Basic error handled.

Get Error Code Method

Err = errornumber

Sets a run-time error code.

Set Error Code Method

Error

Returns the error message that corresponds to an error code.

Get Error Message Method

Error errornumber

Simulates the occurrence of an error.

Simulate Error Method

On Error

Identifies the location of code that handles an error.

On Error Method

Resume

Stops the code that handles an error.

Resume Statement

Siebel VB Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.