OracleTruncateException Class

The OracleTruncateException class represents an exception that is thrown when truncation in a ODP.NET Types class occurs.

Class Inheritance

System.Object

  System.Exception

    System.SystemException

      System.OracleTypeException

        Oracle.DataAccess.Types.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

ODP.NET Version: ODP.NET for .NET Framework 2.0 or ODP.NET for .NET Framework 4


OracleTruncateException Members

OracleTruncateException members are listed in the following tables.

OracleTruncateException Constructors

The OracleTruncateException constructors are listed in Table 15-15.

Table 15-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 15-16.

Table 15-16 OracleTruncateException Static Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)


OracleTruncateException Properties

The OracleTruncateException properties are listed in Table 15-17.

Table 15-17 OracleTruncateException Properties

Properties Description

HelpLink

Inherited from System.SystemException.Exception

InnerException

Inherited from System.SystemException.Exception

Message

Inherited from OracleTypeException

Source

Inherited from OracleTypeException

StackTrace

Inherited from System.SystemException.Exception

TargetSite

Inherited from System.SystemException.Exception


OracleTruncateException Methods

The OracleTruncateException methods are listed in Table 15-18.

Table 15-18 OracleTruncateException Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)

GetBaseException

Inherited from System.SystemException.Exception

GetHashCode

Inherited from System.Object

GetObjectData

Inherited from System.SystemException.Exception

GetType

Inherited from System.Object

ToString

Inherited from OracleTypeException



OracleTruncateException Constructors

The OracleTruncateException constructors create new instances of the OracleTruncateException class

Overload List:

  • OracleTruncateException()

    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.

OracleTruncateException()

This constructor creates a new instance of the OracleTruncateException class with its default properties.

Declaration

// C#
public OracleTruncateException();

OracleTruncateException(string)

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.


OracleTruncateException Static Methods

The OracleTruncateException static methods are listed in Table 15-19.

Table 15-19 OracleTruncateException Static Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)



OracleTruncateException Properties

The OracleTruncateException properties are listed in Table 15-20.

Table 15-20 OracleTruncateException Properties

Properties Description

HelpLink

Inherited from System.SystemException.Exception

InnerException

Inherited from System.SystemException.Exception

Message

Inherited from OracleTypeException

Source

Inherited from OracleTypeException

StackTrace

Inherited from System.SystemException.Exception

TargetSite

Inherited from System.SystemException.Exception



OracleTruncateException Methods

The OracleTruncateException methods are listed in Table 15-21.

Table 15-21 OracleTruncateException Methods

Methods Description

Equals

Inherited from System.Object (Overloaded)

GetBaseException

Inherited from System.SystemException.Exception

GetHashCode

Inherited from System.Object

GetObjectData

Inherited from System.SystemException.Exception

GetType

Inherited from System.Object

ToString

Inherited from OracleTypeException