KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sli > kim > classfile > ConstPoolEntryError


1 package sli.kim.classfile;
2
3 /**
4 * An instance of this class is thrown when a ConstPoolEntry is
5 * used incorrectly. For example, calling setUTF(null), or calling
6 * getClassName() on an entry of type INT. It is a subclass of
7 * Error instead of Exception because checking for it all the time
8 * would make working with ConstPoolEntries very tedious.
9 */

10 public class ConstPoolEntryError extends Error JavaDoc {
11     public ConstPoolEntryError(String JavaDoc msg) {
12         super(msg);
13     }
14 }
Popular Tags