AdoException.AdoException

Overview | Methods | This Package | All Packages

AdoException.AdoException

Creates an AdoException object.

Syntax

public AdoException( int id )

public AdoException( String s )

public AdoException( int hr, String s )

Parameters

id

An integer specifying an error number. Specify one of the constants defined in the AdoEnums.ErrorValue class.

s

The message associated with the exception.

hr

An integer specifying an HRESULT returned by COM. This value is converted to a compatible error number.