Skip Headers

Oracle Data Provider for .NET Developer's Guide
Release 9.2.0.2

Part Number A96160-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to beginning of chapter Go to next page

Oracle.DataAccess.Client Namespace, 8 of 26


OracleErrorCollection Class

An OracleErrorCollection class represents a collection of all errors that are thrown by the Oracle Data Provider for .NET.

Class Inheritance

Object

  ArrayList

    OracleErrorCollection

Declaration
// C#
public sealed class OracleErrorCollection : ArrayList
Thread Safety

All public static methods are thread-safe, although instance methods do not guarantee thread safety.

Remarks

A simple ArrayList that holds a list of OracleErrors.

Example
// C#
// The following example demonstrates how to access an individual OracleError
// from an OracleException
...
public void DisplayErrors(OracleException myException)
{
  for (int i=0; i < myException.Errors.Count; i++;)
  {
    Console.WriteLine("Index #" + i + "\n" +
      "Error: " + myException.Errors[i].ToString() + "\n");
  }
}
...


Requirements

Namespace: Oracle.DataAccess.Client

Assembly: Oracle.DataAccesss.dll

See Also:

OracleErrorCollection Members

OracleErrorCollection members are listed in the following tables:

OracleErrorCollection Static Methods

OracleErrorCollection static methods are listed in Table 4-57.

Table 4-57 OracleErrorCollection Static Methods
Methods Description

Equals

Inherited from Object (Overloaded)

OracleErrorCollection Properties

OracleErrorCollection properties are listed in Table 4-58.

Table 4-58 OracleErrorCollection Properties  
Name Description

Capacity

Inherited from ArrayList

Count

Inherited from ArrayList

IsReadOnly

Inherited from ArrayList

IsSynchronized

Inherited from ArrayList

Item

Inherited from ArrayList

OracleErrorCollection Public Methods

OracleErrorCollection public methods are listed in Table 4-59.

Table 4-59 OracleErrorCollection Public Methods  
Public Method Description

CopyTo

Inherited from ArrayList

Equals

Inherited from Object (Overloaded)

GetHashCode

Inherited from Object

GetType

Inherited from Object

ToString

Inherited from Object

See Also:

OracleErrorCollection Static Methods

OracleErrorCollection static methods are listed in Table 4-60.

Table 4-60 OracleErrorCollection Static Methods
Methods Description

Equals

Inherited from Object (Overloaded)

See Also:

OracleErrorCollection Properties

OracleErrorCollection properties are listed in Table 4-61.

Table 4-61 OracleErrorCollection Properties  
Name Description

Capacity

Inherited from ArrayList

Count

Inherited from ArrayList

IsReadOnly

Inherited from ArrayList

IsSynchronized

Inherited from ArrayList

Item

Inherited from ArrayList

See Also:

OracleErrorCollection Public Methods

OracleErrorCollection public methods are listed in Table 4-62.

Table 4-62 OracleErrorCollection Public Methods  
Public Method Description

CopyTo

Inherited from ArrayList

Equals

Inherited from Object (Overloaded)

GetHashCode

Inherited from Object

GetType

Inherited from Object

ToString

Inherited from Object

See Also:


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Index
Index