|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang.exception.NestableRuntimeException
org.apache.ojb.broker.OJBRuntimeException
org.apache.ojb.broker.PersistenceBrokerException
org.apache.ojb.broker.PersistenceBrokerSQLException
Encapsulates a SQL exception thrown during a broker action.
Constructor Summary | |
PersistenceBrokerSQLException()
Creates a new exception instance. |
|
PersistenceBrokerSQLException(java.sql.SQLException cause)
Creates a new exception instance. |
|
PersistenceBrokerSQLException(java.lang.String msg)
Creates a new exception instance. |
|
PersistenceBrokerSQLException(java.lang.String msg,
java.sql.SQLException cause)
Creates a new exception instance. |
Method Summary | |
java.lang.String |
getSQLState()
Returns the SQL state of the underlying SQLException . |
Methods inherited from class org.apache.ojb.broker.PersistenceBrokerException |
getSourceException |
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException |
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PersistenceBrokerSQLException()
public PersistenceBrokerSQLException(java.sql.SQLException cause)
cause
- The base exceptionpublic PersistenceBrokerSQLException(java.lang.String msg)
msg
- The exception messagepublic PersistenceBrokerSQLException(java.lang.String msg, java.sql.SQLException cause)
msg
- The exception messagecause
- The base exceptionMethod Detail |
public java.lang.String getSQLState()
SQLException
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |