|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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
public class KeyConstraintViolatedException
Exception indicate an SQL key contraint violation.
Field Summary |
---|
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException |
---|
delegate |
Constructor Summary | |
---|---|
KeyConstraintViolatedException()
Creates a new exception instance. |
|
KeyConstraintViolatedException(SQLException base)
Creates a new exception instance. |
|
KeyConstraintViolatedException(String msg)
Creates a new exception instance. |
|
KeyConstraintViolatedException(String msg,
SQLException base)
Creates a new exception instance. |
Method Summary |
---|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyConstraintViolatedException()
public KeyConstraintViolatedException(SQLException base)
base
- The wrapped exceptionpublic KeyConstraintViolatedException(String msg)
msg
- The exception messagepublic KeyConstraintViolatedException(String msg, 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 |