KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > util > IllegalFormatWidthException


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
11 public class IllegalFormatWidthException extends IllegalFormatException {
12     int _width;
13
14     public IllegalFormatWidthException(int w) {
15         _width = w;
16     }
17
18     public int getWidth() {
19         return _width;
20     }
21 }
Popular Tags