|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.mguennewig.pobjects.PObjException
de.mguennewig.pobjects.PObjSQLException
public class PObjSQLException
Wrapper around SQL exceptions thrown by the database driver.
The wrapper is used so that all methods of the pobjects library that are
used by the application throw exceptions derived from
PObjException.
| Constructor Summary | |
|---|---|
PObjSQLException(java.sql.SQLException sqlException)
Creates a new PObjSQLException. |
|
PObjSQLException(java.lang.String msg)
Creates a new PObjSQLException. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns a description text for this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PObjSQLException(java.lang.String msg)
public PObjSQLException(java.sql.SQLException sqlException)
| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableThrowable.getMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||