1 9 10 12 package java.nio.charset; 13 14 15 22 23 public class UnsupportedCharsetException 24 extends IllegalArgumentException  25 { 26 27 private String charsetName; 28 29 35 public UnsupportedCharsetException(String charsetName) { 36 super(String.valueOf(charsetName)); 37 this.charsetName = charsetName; 38 } 39 40 45 public String getCharsetName() { 46 return charsetName; 47 } 48 49 } 50 | Popular Tags |