KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > webman > stager > PropertyNotFoundException


1 package webman.stager;
2
3 public class PropertyNotFoundException extends Exception JavaDoc
4 {
5     String JavaDoc prop;
6     
7     public PropertyNotFoundException(String JavaDoc key)
8     {
9         prop = key;
10     }
11     
12     public String JavaDoc getMessage()
13     {
14         return "property " + prop + " not found.";
15     }
16 }
17
Popular Tags