org.garret.jsql
Class JSQLRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.garret.jsql.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
 

Constructor Detail

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 found
fieldName - name of the locate field
Method Detail

getTarget

public java.lang.Class getTarget()
Get class in which lookup was performed


getFieldName

public java.lang.String getFieldName()
Get name of the field