WebObjects 5.2

com.webobjects.jdbcadaptor
Class JDBCAdaptorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.webobjects.eoaccess.EOGeneralAdaptorException
                          |
                          +--com.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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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 Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.