|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
oracle.javatools.db.DBException
oracle.javatools.db.sql.SQLQueryException
oracle.javatools.db.sql.SQLQueryClauseException
public class SQLQueryClauseException
Exception thrown by a SQLQueryBuilder when there is an error with a clause in the query, but that this error doesn't stop the query being declarative. Example: missing a group by statement, an expression needs an alias, etc.
| Constructor Summary | |
|---|---|
SQLQueryClauseException(SQLFragment obj,
java.lang.String message)
|
|
| Method Summary | |
|---|---|
void |
addType(java.lang.String type)
Adds an extra object type for this exception to be concerning, other than the type for the object that was created. |
boolean |
isForType(java.lang.String type)
Queries whether this problem is relevant to the given type of clause. |
| Methods inherited from class oracle.javatools.db.DBException |
|---|
getNextException, getObject, setNextException |
| 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 SQLQueryClauseException(SQLFragment obj,
java.lang.String message)
| Method Detail |
|---|
public void addType(java.lang.String type)
isForType(String)public boolean isForType(java.lang.String type)
SelectObject.TYPE, GroupByObject.TYPE etc.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||