Rule Execution Server API

com.ibm.rules.res.xu.plugin
Class PluginException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.rules.res.message.internal.LocalizedException
              extended by com.ibm.rules.res.xu.internal.XUException
                  extended by com.ibm.rules.res.xu.plugin.PluginException
All Implemented Interfaces:
com.ibm.rules.res.message.internal.LocalizedMessage, Serializable

public class PluginException
extends com.ibm.rules.res.xu.internal.XUException
implements Serializable

PluginException represents the exception raised by a plug-in.

The code of the exception is used as the key of the message that must be added to the properties file (com/ibm/rules/res/xu/message.properties). This file is at the same location as the XU classes. To retrieve it, use the usual JDK Resource Bundle API.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.rules.res.message.internal.LocalizedException
msg
 
Constructor Summary
PluginException()
          Creates an exception.
PluginException(String code, Object[] params)
          Creates an exception.
PluginException(String code, Object[] params, Throwable t)
          Creates an exception.
 
Method Summary
 
Methods inherited from class com.ibm.rules.res.xu.internal.XUException
toStringArray
 
Methods inherited from class com.ibm.rules.res.message.internal.LocalizedException
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageCode, getMessageParameters, getResourceBundleName
 
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()
Creates an exception.


PluginException

public PluginException(String code,
                       Object[] params)
Creates an exception.

Parameters:
code - The code of the created exception.
params - The parameters of the message.

PluginException

public PluginException(String code,
                       Object[] params,
                       Throwable t)
Creates an exception.

Parameters:
code - The code of the created exception.
params - The parameters of the message.
t - The cause of the exception.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013