|
Oracle® Data Provider for .NET Developer's Guide
10g Release 1 (10.1.0.3) Part No. B14164-01 |
|
|
|
|
The OracleTruncateException class represents an exception that is thrown when truncation in a ODP.NET Types class occurs.
Class Inheritance
Object
Exception
SystemException
OracleTypeException
OracleTruncateException
Declaration
// C# public sealed class OracleTruncateException : OracleTypeException
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
OracleTruncateException members are listed in the following tables:
OracleTruncateException Constructors
The OracleTruncateException constructors are listed in Table 10-15.
Table 10-15 OracleTruncateException Constructors
| Constructor | Description |
|---|---|
| OracleTruncateException Constructors
|
Creates a new instance of the OracleTruncateException class (Overloaded)
|
OracleTruncateException Static Methods
The OracleTruncateException static methods are listed in Table 10-16.
Table 10-16 OracleTruncateException Static Methods
| Methods | Description |
|---|---|
Equals
|
Inherited from Object (Overloaded)
|
OracleTruncateException Properties
The OracleTruncateException properties are listed in Table 10-17.
Table 10-17 OracleTruncateException Properties
| Properties | Description |
|---|---|
HelpLink
|
Inherited from Exception
|
InnerException
|
Inherited from Exception
|
Message
|
Inherited from OracleTypeException
|
Source
|
Inherited from OracleTypeException
|
StackTrace
|
Inherited from Exception
|
TargetSite
|
Inherited from Exception
|
OracleTruncateException Methods
The OracleTruncateException methods are listed in Table 10-18.
Table 10-18 OracleTruncateException 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
|
Inherited from OracleTypeException
|
The OracleTruncateException constructors create new instances of the OracleTruncateException class
Overload List:
This constructor creates a new instance of the OracleTruncateException class with its default properties.
OracleTruncateException(string)
This constructor creates a new instance of the OracleTruncateException class with the specified error message, errMessage.
This constructor creates a new instance of the OracleTruncateException class with its default properties.
Declaration
// C# public OracleTruncateException();
This constructor creates a new instance of the OracleTruncateException class with the specified error message, errMessage.
Declaration
// C# public OracleTruncateException (string errMessage);
Parameters
errMessage
The specified error message.
The OracleTruncateException static methods are listed in Table 10-19.
Table 10-19 OracleTruncateException Static Methods
| Methods | Description |
|---|---|
Equals
|
Inherited from Object (Overloaded)
|
The OracleTruncateException properties are listed in Table 10-20.
Table 10-20 OracleTruncateException Properties
| Properties | Description |
|---|---|
HelpLink
|
Inherited from Exception
|
InnerException
|
Inherited from Exception
|
Message
|
Inherited from OracleTypeException
|
Source
|
Inherited from OracleTypeException
|
StackTrace
|
Inherited from Exception
|
TargetSite
|
Inherited from Exception
|
The OracleTruncateException methods are listed in Table 10-21.