net.sf.jaxodraw.plugin
Class JaxoPluginExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.jaxodraw.plugin.JaxoPluginExecutionException
All Implemented Interfaces:
Serializable

public class JaxoPluginExecutionException
extends Exception

An exception occuring during the execution of a plugin.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
JaxoPluginExecutionException(Object source)
          Construct a new JaxoPluginExecutionException exception.
JaxoPluginExecutionException(String message, Object source)
          Construct a new JaxoPluginExecutionException exception with a message.
JaxoPluginExecutionException(String message, Throwable cause, Object source)
          Construct a new JaxoPluginExecutionException exception wrapping an underlying Throwable and providing a message.
 
Method Summary
 Object getSource()
          Get the source of the Exception.
 
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
 

Constructor Detail

JaxoPluginExecutionException

public JaxoPluginExecutionException(Object source)
Construct a new JaxoPluginExecutionException exception.

Parameters:
source - the source of the Exception, may be null.

JaxoPluginExecutionException

public JaxoPluginExecutionException(String message,
                                    Object source)
Construct a new JaxoPluginExecutionException exception with a message.

Parameters:
message - a message. This could be displayed in error dialogs, so it should be an internationalized string.
source - the source of the Exception, may be null.

JaxoPluginExecutionException

public JaxoPluginExecutionException(String message,
                                    Throwable cause,
                                    Object source)
Construct a new JaxoPluginExecutionException exception wrapping an underlying Throwable and providing a message.

Parameters:
message - a message. This could be displayed in error dialogs, so it should be an internationalized string.
cause - the underlying cause of the Exception.
source - the source of the Exception, may be null.
Method Detail

getSource

public Object getSource()
Get the source of the Exception.

Returns:
the source of the Exception, may be null.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.