01: /*
02: * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
03: * Copyright (C) 2005 - Javolution (http://javolution.org/)
04: * All rights reserved.
05: *
06: * Permission to use, copy, modify, and distribute this software is
07: * freely granted, provided that this notice is preserved.
08: */
09:
10: package j2me.lang;
11:
12: public class TypeNotPresentException extends RuntimeException {
13: String _typeName;
14:
15: public TypeNotPresentException(String typeName, Throwable cause) {
16: super ("Type " + typeName + " not present");
17: _typeName = typeName;
18: }
19:
20: public String typeName() {
21: return _typeName;
22: }
23: }
|