Skip Headers
Oracle® Data Provider for .NET Developer's Guide
11g Release 1 (11.1)

Part Number B28375-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

OracleTypeException Class

The OracleTypeException is the base exception class for handling exceptions that occur in the ODP.NET Types classes.

Class Inheritance

System.Object

  System.Exception

    System.SystemException

      Oracle.DataAccess.Types.OracleTypeException

Declaration

// C#
public class OracleTypeException : SystemException

Thread Safety

All public static methods are thread-safe, although instance methods do not guarantee thread safety.

Requirements

Namespace: Oracle.DataAccess.Types

Assembly: Oracle.DataAccess.dll

Microsoft .NET Framework Version: 1.x or 2.0


OracleTypeException Members

OracleTypeException members are listed in the following tables:

OracleTypeException Constructors

The OracleTypeException constructors are listed in Table 13-1.

Table 13-1 OracleTypeException Constructor

Constructor Description

OracleTypeException Constructors

Creates a new instance of the OracleTypeException class (Overloaded)


OracleTypeException Static Methods

The OracleTypeException static methods are listed in Table 13-2.

Table 13-2 OracleTypeException Static Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)


OracleTypeException Properties

The OracleTypeException properties are listed in Table 13-3.

Table 13-3 OracleTypeException Properties

Properties Description

HelpLink

Inherited from System.SystemException.Exception

InnerException

Inherited from System.SystemException.Exception

Message


Specifies the error messages that occur in the exception

Source


Specifies the name of the data provider that generates the error

StackTrace

Inherited from System.SystemException.Exception

TargetSite

Inherited from System.SystemException.Exception


OracleTypeException Methods

The OracleTypeException methods are listed in Table 13-4.

Table 13-4 OracleTypeException Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)

GetBaseException

Inherited from System.SystemException.Exception

GetHashCode

Inherited from System.Object

GetObjectData

Inherited from System.SystemException.Exception

GetType

Inherited from System.Object

ToString


Returns the fully qualified name of this exception



OracleTypeException Constructors

The OracleTypeException constructors create new instances of the OracleTypeException class.

Overload List:

OracleTypeException(string)

This constructor creates a new instance of the OracleTypeException class with the specified error message, errMessage.

Declaration

// C#
public OracleTypeException (string errMessage); 

Parameters

OracleTypeException(SerializationInfo, StreamingContext)

This constructor creates a new instance of the OracleTypeException class with the specified serialization information, si, and the specified streaming context, sc.

Declaration

// C#
protected OracleTypeException (SerializationInfo si, StreamingContext sc);

Parameters


OracleTypeException Static Methods

The OracleTypeException static methods are listed in Table 13-5.

Table 13-5 OracleTypeException Static Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)



OracleTypeException Properties

The OracleTypeException properties are listed in Table 13-6.

Table 13-6 OracleTypeException Properties

Properties Description

HelpLink

Inherited from System.SystemException.Exception

InnerException

Inherited from System.SystemException.Exception

Message


Specifies the error messages that occur in the exception

Source


Specifies the name of the data provider that generates the error

StackTrace

Inherited from System.SystemException.Exception

TargetSite

Inherited from System.SystemException.Exception


Message

Overrides Exception

This property specifies the error messages that occur in the exception.

Declaration

// C#
public override string Message {get;}

Property Value

An error message.

Source

Overrides Exception

This property specifies the name of the data provider that generates the error.

Declaration

// C#
public override string Source {get;}

Property Value

Oracle Data Provider for .NET.


OracleTypeException Methods

The OracleTypeException methods are listed in Table 13-7.

Table 13-7 OracleTypeException Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)

GetBaseException

Inherited from System.SystemException.Exception

GetHashCode

Inherited from System.Object

GetObjectData

Inherited from System.SystemException.Exception

GetType

Inherited from System.Object

ToString


Returns the fully qualified name of this exception


ToString

Overrides Exception

This method returns the fully qualified name of this exception, the error message in the Message property, the InnerException.ToString() message, and the stack trace.

Declaration

// C#
public override string ToString();

Return Value

The fully qualified name of this exception.