/[classpath]/classpath/java/nio/charset/UnsupportedCharsetException.java
ViewVC logotype

Diff of /classpath/java/nio/charset/UnsupportedCharsetException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mkoch, Thu Nov 7 09:57:01 2002 UTC revision 1.2 by mkoch, Fri Nov 8 12:15:32 2002 UTC
# Line 40  package java.nio.charset; Line 40  package java.nio.charset;
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    /**    /**
# Line 58  class UnsupportedCharsetException extend Line 55  class UnsupportedCharsetException extend
55     */     */
56    public String getCharsetName ()    public String getCharsetName ()
57    {    {
58      return charsetName;      return getMessage ();
59    }    }
60  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26