< prev index next >

src/java.desktop/share/classes/javax/swing/text/ChangedCharSetException.java

Print this page

        

*** 36,54 **** --- 36,67 ---- public class ChangedCharSetException extends IOException { String charSetSpec; boolean charSetKey; + /** + * Constructs a {@code ChangedCharSetException}. + * @param charSetSpec name of the char set specification + * @param charSetKey char set key + */ public ChangedCharSetException(String charSetSpec, boolean charSetKey) { this.charSetSpec = charSetSpec; this.charSetKey = charSetKey; } + /** + * Returns the char set specification. + * @return the char set specification + */ public String getCharSetSpec() { return charSetSpec; } + /** + * Returns the char set key. + * @return the char set key + */ public boolean keyEqualsCharSet() { return charSetKey; } }
< prev index next >