|
||||||||||
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
org.apache.ojb.broker.KeyConstraintViolatedException
Exception indicate an SQL key contraint violation.
Constructor Summary | |
KeyConstraintViolatedException()
Creates a new exception instance. |
|
KeyConstraintViolatedException(java.sql.SQLException base)
Creates a new exception instance. |
|
KeyConstraintViolatedException(java.lang.String msg)
Creates a new exception instance. |
|
KeyConstraintViolatedException(java.lang.String msg,
java.sql.SQLException base)
Creates a new exception instance. |
Methods inherited from class org.apache.ojb.broker.PersistenceBrokerSQLException |
getSQLState |
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 KeyConstraintViolatedException()
public KeyConstraintViolatedException(java.sql.SQLException base)
base
- The wrapped exceptionpublic KeyConstraintViolatedException(java.lang.String msg)
msg
- The exception messagepublic KeyConstraintViolatedException(java.lang.String msg, java.sql.SQLException base)
msg
- The exception messagebase
- The wrapped exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |