org.garret.perst
Class JSQLRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.garret.perst.JSQLRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JSQLArithmeticException, JSQLNoSuchFieldException, JSQLNullPointerException
- public class JSQLRuntimeException
- extends java.lang.RuntimeException
Exception thown by JSQL at runtime which should be ignored and boolean expression caused this
exption should be treated as false
- See Also:
- Serialized Form
|
Constructor Summary |
JSQLRuntimeException(java.lang.String message,
java.lang.Class target,
java.lang.String fieldName)
Constructor of exception |
|
Method Summary |
java.lang.String |
getFieldName()
Get name of the field |
java.lang.Class |
getTarget()
Get class in which lookup was performed |
| 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JSQLRuntimeException
public JSQLRuntimeException(java.lang.String message,
java.lang.Class target,
java.lang.String fieldName)
- Constructor of exception
- Parameters:
target - class of the target object in which field was not foundfieldName - name of the locate field
getFieldName
public java.lang.String getFieldName()
- Get name of the field
getTarget
public java.lang.Class getTarget()
- Get class in which lookup was performed