com.electrotank.electroserver.plugins
Class PluginException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.electrotank.electroserver.plugins.PluginException
All Implemented Interfaces:
Serializable

public class PluginException
extends Exception

Used to represent any exceptions that come out of plugins.

See Also:
Serialized Form

Constructor Summary
PluginException()
          Creates a new PluginException with no specific message.
PluginException(String msg)
          Creates a new PluginException with a given message.
PluginException(String message, Throwable cause)
          Creates a new PluginException with a given message and a cause.
PluginException(Throwable cause)
          Creates a new PluginException with a root cause.
 
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

PluginException

public PluginException()
Creates a new PluginException with no specific message.


PluginException

public PluginException(Throwable cause)
Creates a new PluginException with a root cause.

Parameters:
cause - the root cause of this exception.

PluginException

public PluginException(String msg)
Creates a new PluginException with a given message.

Parameters:
msg - the message of the exception.

PluginException

public PluginException(String message,
                       Throwable cause)
Creates a new PluginException with a given message and a cause.

Parameters:
message - the message of the exception.
cause - the root cause of the exception.


Copyright © 2006 Electrotank, Inc. All Rights Reserved.