Changeset 9983 in josm for trunk/src/org/openstreetmap/josm/plugins/PluginException.java
- Timestamp:
- 2016-03-13T21:36:47+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginException.java
r8308 r9983 13 13 public class PluginException extends Exception { 14 14 public final transient PluginProxy plugin; 15 public final String name;16 15 17 16 public PluginException(PluginProxy plugin, String name, Throwable cause) { 18 17 super(tr("An error occurred in plugin {0}", name), cause); 19 18 this.plugin = plugin; 20 this.name = name;21 19 } 22 20 23 public PluginException(String name, Stringmessage) {21 public PluginException(String message) { 24 22 super(message); 25 23 this.plugin = null; 26 this.name = name;27 24 } 28 25 … … 30 27 super(tr("An error occurred in plugin {0}", name), cause); 31 28 this.plugin = null; 32 this.name = name;33 29 } 34 30 }
Note:
See TracChangeset
for help on using the changeset viewer.
