--- old/src/java.desktop/share/classes/javax/swing/text/ChangedCharSetException.java 2015-04-14 15:34:35.203836849 -0700 +++ new/src/java.desktop/share/classes/javax/swing/text/ChangedCharSetException.java 2015-04-14 15:34:35.051836846 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -38,15 +38,28 @@ 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; }