Skip Headers
Oracle® Data Provider for .NET Developer's Guide
10g Release 2 (10.2)

B14307-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
PDF · Mobi · ePub

OracleTypeException Class

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

Class Inheritance

Object

  Exception

    SystemException

      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


OracleTypeException Members

OracleTypeException members are listed in the following tables:

OracleTypeException Constructors

The OracleTypeException constructors are listed in Table 12-1.

Table 12-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 12-2.

Table 12-2 OracleTypeException Static Methods

Methods Description
Equals Inherited from Object (Overloaded)

OracleTypeException Properties

The OracleTypeException properties are listed in Table 12-3.

Table 12-3 OracleTypeException Properties

Properties Description
HelpLink Inherited from Exception
InnerException Inherited from 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 Exception
TargetSite Inherited from Exception

OracleTypeException Methods

The OracleTypeException methods are listed in Table 12-4.

Table 12-4 OracleTypeException Methods

Methods Description
Equals Inherited from Object (Overloaded)
GetBaseException Inherited from Exception
GetHashCode Inherited from Object
GetObjectData Inherited from Exception
GetType Inherited from 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 12-5.

Table 12-5 OracleTypeException Static Methods

Methods Description
Equals Inherited from Object (Overloaded)


OracleTypeException Properties

The OracleTypeException properties are listed in Table 12-6.

Table 12-6 OracleTypeException Properties

Properties Description
HelpLink Inherited from Exception
InnerException Inherited from 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 Exception
TargetSite Inherited from 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 12-7.

Table 12-7 OracleTypeException Methods

Methods Description
Equals Inherited from Object (Overloaded)
GetBaseException Inherited from Exception
GetHashCode Inherited from Object
GetObjectData Inherited from Exception
GetType Inherited from 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.