|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException net.sf.eodsql.InvalidQueryException
public class InvalidQueryException
This exception is only ever thrown by methods in the QueryTool
class when an implementation of BaseQuery
is requested which
violates any of the rules for a query class.
Constructor Summary | |
---|---|
InvalidQueryException()
Creates a new instance of InvalidQueryException
without detail message. |
|
InvalidQueryException(String msg)
Constructs an instance of InvalidQueryException
with the specified detail message. |
|
InvalidQueryException(String msg,
Method problem)
Constructs an instance of InvalidQueryException
with the specified detail message, and a specific method that
caused the problem. |
Method Summary | |
---|---|
Method |
getInvalidMethod()
Generally the reason a query interface is found to be invalid is that one of it's methods have been badly annotated. |
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 InvalidQueryException()
InvalidQueryException
without detail message.
public InvalidQueryException(String msg)
InvalidQueryException
with the specified detail message.
msg
- the detail message.public InvalidQueryException(String msg, Method problem)
InvalidQueryException
with the specified detail message, and a specific method that
caused the problem.
problem
- the method that caused the exception to be thrownmsg
- the detail message.Method Detail |
---|
public Method getInvalidMethod()
getInvalidMethod
will return the offending method, otherwise
it will return null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |