Skip Headers

Oracle® Data Provider for .NET Developer's Guide
Release 9.2.0.4

Part Number B10961-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to beginning of chapter Go to next page

Oracle.DataAccess.Types Namespace (ODP.NET Types), 11 of 19


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

See Also:

OracleTypeException Members

OracleTypeException members are listed in the following tables:

OracleTypeException Constructors

The OracleTypeException constructors are listed in Table 5-126.

Table 5-126 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 5-127.

Table 5-127 OracleTypeException Static Methods  
Methods Description

Equals

Inherited from Object (Overloaded)

OracleTypeException Properties

The OracleTypeException properties are listed in Table 5-128.

Table 5-128 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 5-129.

Table 5-129 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

See Also:

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, StreamContext)

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

Declaration
// C#
public OracleTypeException (SerializationInfo si, StreamingContext sc);
Parameters

OracleTypeException Static Methods

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

Table 5-130 OracleTypeException Static Methods  
Methods Description

Equals

Inherited from Object (Overloaded)

See Also:

OracleTypeException Properties

The OracleTypeException properties are listed in Table 5-131.

Table 5-131 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

See Also:

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.

See Also:

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.

See Also:

OracleTypeException Methods

The OracleTypeException methods are listed in Table 5-132.

Table 5-132 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

See Also:

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.

See Also:


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 2002, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Index
Index