org.openstreetmap.josm.plugins
Class PluginException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openstreetmap.josm.plugins.PluginException
All Implemented Interfaces:
java.io.Serializable

public class PluginException
extends java.lang.Exception

Exception that wraps any exception thrown by plugins. It is used in the JOSM main system and there is no particular reason to use this within the plugin itself (although there is also no reason against this.. ;)

See Also:
Serialized Form

Field Summary
 java.lang.String name
           
 PluginProxy plugin
           
 
Constructor Summary
PluginException(PluginProxy plugin, java.lang.String name, java.lang.Throwable cause)
           
PluginException(java.lang.String name, java.lang.String message)
           
PluginException(java.lang.String name, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

plugin

public final PluginProxy plugin

name

public final java.lang.String name
Constructor Detail

PluginException

public PluginException(PluginProxy plugin,
                       java.lang.String name,
                       java.lang.Throwable cause)

PluginException

public PluginException(java.lang.String name,
                       java.lang.String message)

PluginException

public PluginException(java.lang.String name,
                       java.lang.Throwable cause)


JOSM