org.garret.jsql
Class LookupFailedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.garret.jsql.LookupFailedException
All Implemented Interfaces:
java.io.Serializable

public class LookupFailedException
extends java.lang.RuntimeException

Exception thown when field is not found during runtime lookup


Constructor Summary
LookupFailedException(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

LookupFailedException

public LookupFailedException(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