home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / applet / AppletIOException.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  775 b   |  26 lines

  1. package sun.applet;
  2.  
  3. import java.io.IOException;
  4.  
  5. public class AppletIOException extends IOException {
  6.    private String key;
  7.    private Object msgobj;
  8.    private static AppletMessageHandler amh = new AppletMessageHandler("appletioexception");
  9.  
  10.    public AppletIOException(String var1) {
  11.       super(var1);
  12.       this.key = null;
  13.       this.msgobj = null;
  14.       this.key = var1;
  15.    }
  16.  
  17.    public AppletIOException(String var1, Object var2) {
  18.       this(var1);
  19.       this.msgobj = var2;
  20.    }
  21.  
  22.    public String getLocalizedMessage() {
  23.       return this.msgobj != null ? amh.getMessage(this.key, this.msgobj) : amh.getMessage(this.key);
  24.    }
  25. }
  26.