|
||||||||
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 net.sf.eodsql.InvalidDataTypeException
public class InvalidDataTypeException
This method is thrown by the QueryTool
class when a data-type
returned by an @Select
method is found to be invalid.
Constructor Summary | |
---|---|
InvalidDataTypeException(Class type)
Creates a new instance of InvalidDataTypeException
without detail message. |
|
InvalidDataTypeException(String msg,
Class type)
Constructs an instance of InvalidDataTypeException
with the specified detail message. |
|
InvalidDataTypeException(String msg,
Class type,
Method problem)
Constructs an instance of InvalidDataTypeException
with the specified detail message, and a specific method that
caused the problem. |
Method Summary | |
---|---|
Class |
getDataType()
Returns the Class of the data-type that caused this method
to be thrown. |
Methods inherited from class net.sf.eodsql.InvalidQueryException |
---|
getInvalidMethod |
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 InvalidDataTypeException(Class type)
InvalidDataTypeException
without detail message.
type
- the offending data-typepublic InvalidDataTypeException(String msg, Class type)
InvalidDataTypeException
with the specified detail message.
type
- the offending data-typemsg
- the detail message.public InvalidDataTypeException(String msg, Class type, Method problem)
InvalidDataTypeException
with the specified detail message, and a specific method that
caused the problem.
type
- the offending data-typeproblem
- the method that caused the exception to be thrownmsg
- the detail message.Method Detail |
---|
public Class getDataType()
Class
of the data-type that caused this method
to be thrown.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |