Oracle® Data Provider for .NET Developer's Guide 10g Release 2 (10.2) Part Number B14307-01 |
|
|
View PDF |
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 12-15.
Table 12-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 12-16.
Table 12-16 OracleTruncateException Static Methods
Methods | Description |
---|---|
Equals |
Inherited from Object (Overloaded) |
OracleTruncateException Properties
The OracleTruncateException
properties are listed in Table 12-17.
Table 12-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 12-18.
Table 12-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 12-19.
Table 12-19 OracleTruncateException Static Methods
Methods | Description |
---|---|
Equals |
Inherited from Object (Overloaded) |
The OracleTruncateException
properties are listed in Table 12-20.
Table 12-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 12-21.