1 7 package javax.swing.text; 8 9 import java.io.IOException ; 10 11 18 public class ChangedCharSetException extends IOException { 19 20 String charSetSpec; 21 boolean charSetKey; 22 23 public ChangedCharSetException(String charSetSpec, boolean charSetKey) { 24 this.charSetSpec = charSetSpec; 25 this.charSetKey = charSetKey; 26 } 27 28 public String getCharSetSpec() { 29 return charSetSpec; 30 } 31 32 public boolean keyEqualsCharSet() { 33 return charSetKey; 34 } 35 36 } 37 | Popular Tags |