com.ibm.rules.res.xu.plugin

Class PluginException

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


    public class PluginException
    extends com.ibm.rules.res.xu.internal.XUException
    implements java.io.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/messages.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

      Constructors 
      Constructor and Description
      PluginException()
      Creates an exception.
      PluginException(java.lang.String code, java.lang.Object[] params)
      Creates an exception.
      PluginException(java.lang.String code, java.lang.Object[] params, java.lang.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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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(java.lang.String code,
                       java.lang.Object[] params)
        Creates an exception.
        Parameters:
        code - The code of the created exception.
        params - The parameters of the message.
      • PluginException

        public PluginException(java.lang.String code,
                       java.lang.Object[] params,
                       java.lang.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.

© Copyright IBM Corp. 1987, 2017