diff options
author | Deepak Bhole <[email protected]> | 2010-12-06 15:34:01 -0500 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2010-12-06 15:34:01 -0500 |
commit | 6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 (patch) | |
tree | 568f8e454db94fa8abc896b46ce8cac7a9f3b74d /plugin/icedteanp/java/sun/applet/PluginException.java | |
parent | 0d66adf24179c33bbdccaacc10d4c8a5f5e2cd54 (diff) |
Fixed indentation and spacing for all .java files.
Added a new .settings directory which contains Eclipse
preferences for code style.
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginException.java')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/PluginException.java | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginException.java b/plugin/icedteanp/java/sun/applet/PluginException.java index 0f6e660..4d42eff 100644 --- a/plugin/icedteanp/java/sun/applet/PluginException.java +++ b/plugin/icedteanp/java/sun/applet/PluginException.java @@ -35,19 +35,17 @@ this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ - package sun.applet; - public class PluginException extends Exception { - public PluginException (PluginStreamHandler sh, int instance, int reference, Throwable t) { - t.printStackTrace(); - this.setStackTrace(t.getStackTrace()); - - AppletSecurityContextManager.dumpStore(0); + public PluginException(PluginStreamHandler sh, int instance, int reference, Throwable t) { + t.printStackTrace(); + this.setStackTrace(t.getStackTrace()); + + AppletSecurityContextManager.dumpStore(0); - String message = "instance " + instance + " reference " + reference + " Error " + t.getMessage(); - sh.write(message); - } + String message = "instance " + instance + " reference " + reference + " Error " + t.getMessage(); + sh.write(message); + } } |