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

Part Number E18754-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

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

ODP.NET Version: ODP.NET for .NET Framework 2.0 or ODP.NET for .NET Framework 4


OracleTypeException Members

OracleTypeException members are listed in the following tables.

OracleTypeException Constructors

The OracleTypeException constructors are listed in Table 15-1.

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

Table 15-2 OracleTypeException Static Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)


OracleTypeException Properties

The OracleTypeException properties are listed in Table 15-3.

Table 15-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 15-4.

Table 15-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 15-5.

Table 15-5 OracleTypeException Static Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)



OracleTypeException Properties

The OracleTypeException properties are listed in Table 15-6.

Table 15-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 15-7.

Table 15-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.