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
 
 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
JDBCAdaptorException
public JDBCAdaptorException(String message,
                            SQLException sqlException)
- Creates a JDBCAdaptorException.
 - Parameters:
 message - a String explaining the reason for the exceptionsqlException - 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).
sqlException
public SQLException sqlException()
- Returns the SQLException that prompted this JDBCAdaptorException.
- Returns:
 - an SQLException
 
 
 
Copyright © 2003 Apple Computer, Inc.