Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp.ADODB
Class Connection.ErrorsClass  view Connection.ErrorsClass download Connection.ErrorsClass.java

java.lang.Object
  extended bycom.tripi.asp.ADODB.Connection.ErrorsClass
All Implemented Interfaces:
com.tripi.asp.SimpleMap
Enclosing class:
Connection

public static class Connection.ErrorsClass
extends java.lang.Object
implements com.tripi.asp.SimpleMap

This inner class contains the list of SQL errors.


Field Summary
protected  java.util.Vector _errorlist
          Internal list of SQL errors.
(package private) static org.apache.log4j.Category DBG
          Debugging context
 
Constructor Summary
Connection.ErrorsClass()
           
 
Method Summary
protected  void AddError(com.tripi.asp.AspException ex)
          Internal function to add an error to the list
 void Clear()
          Clears the SQL errors
 int Count()
          Returns number of errors in list.
 java.lang.Object get(java.lang.Object obj)
          Obtain the error at the specified index.
 java.util.Enumeration getKeys()
          Function to obtain keys in this collection.
 void put(java.lang.Object obj, java.lang.Object value)
          The Errors list is read-only, so this function will throw an error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBG

static org.apache.log4j.Category DBG
Debugging context


_errorlist

protected java.util.Vector _errorlist
Internal list of SQL errors.

Constructor Detail

Connection.ErrorsClass

public Connection.ErrorsClass()
Method Detail

Count

public int Count()
Returns number of errors in list.


Clear

public void Clear()
Clears the SQL errors


AddError

protected void AddError(com.tripi.asp.AspException ex)
Internal function to add an error to the list


get

public java.lang.Object get(java.lang.Object obj)
                     throws com.tripi.asp.AspException
Obtain the error at the specified index.

Specified by:
get in interface com.tripi.asp.SimpleMap

put

public void put(java.lang.Object obj,
                java.lang.Object value)
         throws com.tripi.asp.AspException
The Errors list is read-only, so this function will throw an error.

Specified by:
put in interface com.tripi.asp.SimpleMap

getKeys

public java.util.Enumeration getKeys()
Function to obtain keys in this collection. This function should not be called.

Specified by:
getKeys in interface com.tripi.asp.SimpleMap