|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.drizzle.jdbc.internal.common.QueryException
public class QueryException
. User: marcuse Date: Feb 7, 2009 Time: 10:16:17 PM
| Constructor Summary | |
|---|---|
QueryException(java.lang.String message)
Creates a default query exception with errorCode -1 and sqlState HY0000. |
|
QueryException(java.lang.String message,
int errorCode,
java.lang.String sqlState,
java.lang.Throwable cause)
creates a query exception with a message and a cause. |
|
QueryException(java.lang.String message,
short errorCode,
java.lang.String sqlState)
Creates a query exception with a message. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
returns the error code. |
java.lang.String |
getSqlState()
gets the sql state. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryException(java.lang.String message)
message - the message to set
public QueryException(java.lang.String message,
short errorCode,
java.lang.String sqlState)
message - the messageerrorCode - the error codesqlState - the sqlstate
public QueryException(java.lang.String message,
int errorCode,
java.lang.String sqlState,
java.lang.Throwable cause)
message - the exception messageerrorCode - the error codesqlState - the sql statecause - the cause of the exception| Method Detail |
|---|
public final int getErrorCode()
public final java.lang.String getSqlState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||