FileDocCategorySizeDatePackage
FormatFlagsConversionMismatchException.javaAPI DocJava SE 5 API1464Fri Aug 26 14:57:22 BST 2005java.util

FormatFlagsConversionMismatchException

public class FormatFlagsConversionMismatchException extends IllegalFormatException
Unchecked exception thrown when a conversion and flag are incompatible.

Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a {@link NullPointerException} to be thrown.

version
1.2, 12/19/03
since
1.5

Fields Summary
private static final long
serialVersionUID
private String
f
private char
c
Constructors Summary
public FormatFlagsConversionMismatchException(String f, char c)
Constructs an instance of this class with the specified flag and conversion.

param
f The flag
param
c The conversion


                                               
         
 	if (f == null)
 	    throw new NullPointerException();
	this.f = f;
	this.c = c;
    
Methods Summary
public chargetConversion()
Returns the incompatible conversion.

return
The conversion

	return c;
    
public java.lang.StringgetFlags()
Returns the incompatible flag.

return
The flag

	return f;
    
public java.lang.StringgetMessage()

	return "Conversion = " + c + ", Flags = " + f;