The OracleTypeException is the base exception class for handling exceptions that occur in the ODP.NET Types classes.
System.Object
  System.Exception
    System.SystemException
      Oracle.DataAccess.Types.OracleTypeException
// C# public class OracleTypeException : SystemException
All public static methods are thread-safe, although instance methods do not guarantee thread safety.
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
See Also:
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 | 
|---|---|
| Creates a new instance of the  | 
OracleTypeException Static Methods
The OracleTypeException static methods are listed in Table 15-2.
Table 15-2 OracleTypeException Static Methods
| Methods | Description | 
|---|---|
| 
 | Inherited from  | 
OracleTypeException Properties
The OracleTypeException properties are listed in Table 15-3.
Table 15-3 OracleTypeException Properties
| Properties | Description | 
|---|---|
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| Specifies the error messages that occur in the exception | |
| Specifies the name of the data provider that generates the error | |
| 
 | Inherited from  | 
| 
 | Inherited from  | 
The OracleTypeException methods are listed in Table 15-4.
Table 15-4 OracleTypeException Methods
| Methods | Description | 
|---|---|
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| Returns the fully qualified name of this exception | 
The OracleTypeException constructors create new instances of the OracleTypeException class.
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.
// C#
public OracleTypeException (string errMessage); 
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.
// C# protected OracleTypeException (SerializationInfo si, StreamingContext sc);
si
The specified serialization information.
sc
The specified streaming context.
The OracleTypeException static methods are listed in Table 15-5.
The OracleTypeException properties are listed in Table 15-6.
Table 15-6 OracleTypeException Properties
| Properties | Description | 
|---|---|
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| Specifies the error messages that occur in the exception | |
| Specifies the name of the data provider that generates the error | |
| 
 | Inherited from  | 
| 
 | Inherited from  | 
Overrides Exception
This property specifies the error messages that occur in the exception.
// C#
public override string Message {get;}
An error message.
The OracleTypeException methods are listed in Table 15-7.
Table 15-7 OracleTypeException Methods
| Methods | Description | 
|---|---|
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| 
 | Inherited from  | 
| Returns the fully qualified name of this exception |