org.ceryle.plugin
Class PluginException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ceryle.util.ProcessException
              extended by org.ceryle.plugin.PluginException
All Implemented Interfaces:
Serializable

public class PluginException
extends ProcessException

An general class for exceptions thrown by Ceryle plugins.

Since:
JDK1.3
Version:
$Id: PluginException.java,v 3.3 2007-06-15 12:09:29 altheim Exp $
Author:
Murray Altheim
See Also:
Messages, MessageId, ProcessException, Serialized Form

Field Summary
 
Fields inherited from class org.ceryle.util.ProcessException
exception, isMessageId, line, messageId, param1, param2, param3
 
Constructor Summary
PluginException(Exception exception)
          Constructor for PluginException tunnelling the original Exception.
PluginException(String messageId)
          Constructor for PluginException.
PluginException(String messageId, Exception exception)
          Constructor for PluginException provided a message identifier, tunnelling the original Exception.
PluginException(String messageId, String param1)
          Constructor for PluginException with a MessageId and one parameter.
PluginException(String messageId, String param1, String param2)
          Constructor for PluginException with a MessageId and two parameters.
PluginException(String messageId, String param1, String param2, String param3)
          Constructor for PluginException with a MessageId and three parameters.
 
Method Summary
 
Methods inherited from class org.ceryle.util.ProcessException
getException, getLine, getMessage, getMessageId
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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(String messageId)
Constructor for PluginException.

Parameters:
messageId - the unique message identifier.

PluginException

public PluginException(Exception exception)
Constructor for PluginException tunnelling the original Exception.

Parameters:
exception - the original Exception.

PluginException

public PluginException(String messageId,
                       Exception exception)
Constructor for PluginException provided a message identifier, tunnelling the original Exception.

Parameters:
messageId - the unique message identifier.
exception - the original Exception.

PluginException

public PluginException(String messageId,
                       String param1)
Constructor for PluginException with a MessageId and one parameter.

Parameters:
messageId - the unique message identifier.
param1 - a parameter string to be inserted at %1.

PluginException

public PluginException(String messageId,
                       String param1,
                       String param2)
Constructor for PluginException with a MessageId and two parameters.

Parameters:
messageId - the unique message identifier.
param1 - a parameter string to be inserted at %1.
param2 - a parameter string to be inserted at %2.

PluginException

public PluginException(String messageId,
                       String param1,
                       String param2,
                       String param3)
Constructor for PluginException with a MessageId and three parameters.

Parameters:
messageId - the unique message identifier.
param1 - a parameter string to be inserted at %1.
param2 - a parameter string to be inserted at %2.
param3 - a parameter string to be inserted at %3.


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.