KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > util > MissingResourceException


1 /*
2  * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
3  * Copyright (C) 2005 - Javolution (http://javolution.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9 package j2me.util;
10 public
11 class MissingResourceException extends RuntimeException JavaDoc {
12     private String JavaDoc _className;
13     private String JavaDoc _key;
14
15     public MissingResourceException(String JavaDoc s, String JavaDoc className, String JavaDoc key) {
16         super(s);
17         _className = className;
18         _key = key;
19     }
20
21     public String JavaDoc getClassName() {
22         return _className;
23     }
24
25     public String JavaDoc getKey() {
26         return _key;
27     }
28 }
29
Popular Tags