|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.irisel.oms.sql.QueryException
public class QueryException
This exception is thrown by several methods in this package when an invalid Query object is found. For example, trying to convert to String a Query object with a null Keyword.
Field Summary | |
---|---|
static int |
FIELD_WRONG
|
static int |
FILTER_LVAL_NULL
|
static int |
FILTER_LVAL_WRONG
|
static int |
FILTER_MULTIPLE_RVAL
|
static int |
FILTER_RVAL_NOT_NULL
|
static int |
FILTER_RVAL_NULL
|
static int |
FILTER_RVAL_WRONG
|
static int |
KEYWORD_NULL
|
static int |
KEYWORD_WRONG
|
static int |
OPTION_FILTER_LVAL_NULL
|
static int |
OPTION_FILTER_LVAL_WRONG
|
static int |
OPTION_FILTER_MULTIPLE_RVAL
|
static int |
OPTION_FILTER_RVAL_NOT_NULL
|
static int |
OPTION_FILTER_RVAL_NULL
|
static int |
OPTION_FILTER_RVAL_WRONG
|
static int |
OPTION_KEYWORD_NULL
|
static int |
OPTION_KEYWORD_WRONG
|
static int |
OPTION_NUMBER_WRONG
|
static int |
OPTION_TARGET_NULL
|
static int |
OPTION_TARGET_WRONG
|
static int |
OPTION_WRONG
|
static int |
PARAMETER_WRONG
|
static int |
TARGET_NULL
|
static int |
TARGET_WRONG
|
Constructor Summary | |
---|---|
QueryException(int code)
Insert the method's description here. |
|
QueryException(java.lang.String s)
QueryException constructor comment. |
Method Summary | |
---|---|
int |
getCode()
Insert the method's description here. |
java.lang.String |
getMessage()
Returns message according to internal code Creation date: (27/10/02 12:13:29) |
void |
setCode(int newCode)
Insert the method's description here. |
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 |
Field Detail |
---|
public static final int KEYWORD_NULL
public static final int KEYWORD_WRONG
public static final int FIELD_WRONG
public static final int PARAMETER_WRONG
public static final int TARGET_NULL
public static final int TARGET_WRONG
public static final int FILTER_LVAL_NULL
public static final int FILTER_LVAL_WRONG
public static final int FILTER_MULTIPLE_RVAL
public static final int FILTER_RVAL_NULL
public static final int FILTER_RVAL_NOT_NULL
public static final int FILTER_RVAL_WRONG
public static final int OPTION_WRONG
public static final int OPTION_KEYWORD_NULL
public static final int OPTION_KEYWORD_WRONG
public static final int OPTION_TARGET_NULL
public static final int OPTION_TARGET_WRONG
public static final int OPTION_FILTER_LVAL_NULL
public static final int OPTION_FILTER_LVAL_WRONG
public static final int OPTION_FILTER_MULTIPLE_RVAL
public static final int OPTION_FILTER_RVAL_NULL
public static final int OPTION_FILTER_RVAL_NOT_NULL
public static final int OPTION_FILTER_RVAL_WRONG
public static final int OPTION_NUMBER_WRONG
Constructor Detail |
---|
public QueryException(int code)
code
- intpublic QueryException(java.lang.String s)
s
- java.lang.StringMethod Detail |
---|
public int getCode()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
code
- intpublic void setCode(int newCode)
newCode
- int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |