KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jac > core > rtti > NoSuchFieldException


1 package org.objectweb.jac.core.rtti;
2
3 public class NoSuchFieldException extends RuntimeException JavaDoc {
4    ClassItem cli;
5    String JavaDoc fieldName;
6    public NoSuchFieldException(ClassItem cli, String JavaDoc fieldName) {
7       super("No such field '"+fieldName+"' in class "+cli.getName());
8       this.cli = cli;
9       this.fieldName = fieldName;
10    }
11    public ClassItem getClassItem() {
12       return cli;
13    }
14    public String JavaDoc getFieldName() {
15       return fieldName;
16    }
17 }
18
Popular Tags