WebObjects 5.2.3

com.webobjects.jdbcadaptor
Class JDBCAdaptorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.webobjects.eoaccess.EOGeneralAdaptorException
                  extended bycom.webobjects.jdbcadaptor.JDBCAdaptorException
All Implemented Interfaces:
Serializable

public class JDBCAdaptorException
extends EOGeneralAdaptorException

The JDBCAdaptor generally throws a JDBCAdaptorException when something goes wrong.

See Also:
Serialized Form

Constructor Summary
JDBCAdaptorException(SQLException sqlException)
          Creates a JDBCAdaptorException, using the message from sqlException.
JDBCAdaptorException(String message, SQLException sqlException)
          Creates a JDBCAdaptorException.
 
Method Summary
 SQLException sqlException()
          Returns the SQLException that prompted this JDBCAdaptorException.
 
Methods inherited from class com.webobjects.eoaccess.EOGeneralAdaptorException
userInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDBCAdaptorException

public JDBCAdaptorException(String message,
                            SQLException sqlException)
Creates a JDBCAdaptorException.

Parameters:
message - a String explaining the reason for the exception
sqlException - a SQLException that prompted this JDBCAdaptorException (may be null).

JDBCAdaptorException

public JDBCAdaptorException(SQLException sqlException)
Creates a JDBCAdaptorException, using the message from sqlException.

Parameters:
sqlException - a SQLException that prompted this JDBCAdaptorException (null is not allowed for this variant of the constructor).
Method Detail

sqlException

public SQLException sqlException()
Returns the SQLException that prompted this JDBCAdaptorException.

Returns:
an SQLException

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.