40 |
/** |
/** |
41 |
* @since 1.4 |
* @since 1.4 |
42 |
*/ |
*/ |
43 |
class UnsupportedCharsetException extends IllegalArgumentException |
public class UnsupportedCharsetException extends IllegalArgumentException |
44 |
{ |
{ |
|
private String charsetName; |
|
|
|
|
45 |
/** |
/** |
46 |
* Creates the exception |
* Creates the exception |
47 |
*/ |
*/ |
48 |
public UnsupportedCharsetException (String charsetName) |
public UnsupportedCharsetException (String charsetName) |
49 |
{ |
{ |
50 |
super (); |
super (charsetName); |
|
this.charsetName = charsetName; |
|
51 |
} |
} |
52 |
|
|
53 |
/** |
/** |
55 |
*/ |
*/ |
56 |
public String getCharsetName () |
public String getCharsetName () |
57 |
{ |
{ |
58 |
return charsetName; |
return getMessage (); |
59 |
} |
} |
60 |
} |
} |