Class PluginError

  • All Implemented Interfaces:
    java.io.Serializable

    public class PluginError
    extends java.lang.RuntimeException
    This is an unchecked exception that can be thrown from within a plug-in when an unexpected error occurs from which the plug-in cannot recover. If it is thrown while the plug-in is being initialized, it will prevent the plug-in form being loaded.
    Since:
    3.0
    Author:
    Chris Jennings
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginError()
      Creates a plug-in error with no specific error message.
      PluginError​(java.lang.String message)
      Creates a plug-in error with the given error message.
      PluginError​(java.lang.String message, java.lang.Throwable cause)
      Creates a plug-in error with the given error message that indicates the specified exception as the root cause.
      PluginError​(java.lang.Throwable cause)
      Creates a plug-in error with the specified exception set as the root cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

      • PluginError

        public PluginError()
        Creates a plug-in error with no specific error message.
      • PluginError

        public PluginError​(java.lang.String message)
        Creates a plug-in error with the given error message.
        Parameters:
        message - an error message
      • PluginError

        public PluginError​(java.lang.Throwable cause)
        Creates a plug-in error with the specified exception set as the root cause.
        Parameters:
        cause - the exception that caused the plug-in error to be thrown
      • PluginError

        public PluginError​(java.lang.String message,
                           java.lang.Throwable cause)
        Creates a plug-in error with the given error message that indicates the specified exception as the root cause.
        Parameters:
        message - an error message
        cause - the exception that caused the plug-in error to be thrown