KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > util > FormatFlagsConversionMismatchException


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.util;
11
12 public class FormatFlagsConversionMismatchException extends
13         IllegalFormatException {
14     private String JavaDoc f;
15
16     private char c;
17
18     public FormatFlagsConversionMismatchException(String JavaDoc f, char c) {
19         this.f = f;
20         this.c = c;
21     }
22
23     public String JavaDoc getFlags() {
24         return f;
25     }
26
27     public char getConversion() {
28         return c;
29     }
30
31 }
Popular Tags