KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > lang > TypeNotPresentException


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
10 package j2me.lang;
11
12 public class TypeNotPresentException extends RuntimeException JavaDoc {
13     String JavaDoc _typeName;
14
15     public TypeNotPresentException(String JavaDoc typeName, Throwable JavaDoc cause) {
16         super("Type " + typeName + " not present");
17         _typeName = typeName;
18     }
19
20     public String JavaDoc typeName() {
21         return _typeName;
22     }
23 }
Popular Tags