Class PluginException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PluginInvalidInputException

    public class PluginException
    extends java.lang.Exception
    Thrown when some plugin-related error has occurred, and none of the other exception types are appropriate.
    Since:
    1.6
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Throwable cause  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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
    • Field Detail

      • cause

        private java.lang.Throwable cause
    • Constructor Detail

      • PluginException

        public PluginException​(java.lang.Throwable cause)
        Parameters:
        cause - underlying exception that caused this to be thrown
      • PluginException

        public PluginException​(java.lang.String msg)
        Parameters:
        msg - describes the reason this exception is being thrown.
      • PluginException

        public PluginException​(java.lang.String msg,
                               java.lang.Throwable cause)
        Parameters:
        msg - describes the reason this exception is being thrown.
        cause - underlying exception that caused this to be thrown
    • Method Detail

      • getCause

        public java.lang.Throwable getCause()
        Overrides:
        getCause in class java.lang.Throwable
        Returns:
        the underlying exception that caused this to be thrown