01: //-< JSQLNoSuchFieldException.java >---------------------------------*--------*
02: // JSQL Version 1.04 (c) 1999 GARRET * ? *
03: // (Java SQL) * /\| *
04: // * / \ *
05: // Created: 7-Dec-2002 K.A. Knizhnik * / [] \ *
06: // Last update: 9-Dec-2002 K.A. Knizhnik * GARRET *
07: //-------------------------------------------------------------------*--------*
08: // Exception thown when field is not found during runtime lookup
09: //-------------------------------------------------------------------*--------*
10:
11: package org.garret.perst;
12:
13: /**
14: * Exception thown when field is not found during runtime lookup
15: */
16: public class JSQLNoSuchFieldException extends JSQLRuntimeException {
17: /**
18: * Constructor of exception
19: * @param target class of the target object in which field was not found
20: * @param fieldName name of the locate field
21: */
22: public JSQLNoSuchFieldException(Class target, String fieldName) {
23: super ("Dynamic lookup failed for field ", target, fieldName);
24: }
25: }
|