|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ca.sqlpower.wabit.QueryException
public class QueryException
An exception that is caused by any failure of data gathering by any means implemented by the Query interface.
| Constructor Summary | |
|---|---|
QueryException(java.lang.String query,
java.lang.Throwable cause)
Creates a new query exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getQuery()
Returns the text of the query that failed. |
| 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 query,
java.lang.Throwable cause)
query - Some text describing the query that failed. For an SQL query
exception, this should be the SQL query that did not execute.cause - The underlying cause of the query failure. For an SQL query
exception, this should be the SQLException from the database.| Method Detail |
|---|
public java.lang.String getQuery()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||