Oracle® Data Provider for .NET Developer's Guide 10g Release 2 (10.2) Part Number B14307-01 |
|
|
View PDF |
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 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 |
The OracleTypeException
constructors create new instances of the OracleTypeException
class.
Overload List:
This constructor creates a new instance of the OracleTypeException
class with the specified error message, errMessage
.
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
.
This constructor creates a new instance of the OracleTypeException
class with the specified error message, errMessage
.
Declaration
// C#
public OracleTypeException (string errMessage);
Parameters
errMessage
The specified error message.
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
si
The specified serialization information.
sc
The specified streaming context.
The OracleTypeException
static methods are listed in Table 12-5.
Table 12-5 OracleTypeException Static Methods
Methods | Description |
---|---|
Equals |
Inherited from Object (Overloaded) |
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 |
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.
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.
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 |
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.