Class PluginRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PluginRuntimeException
    extends java.lang.Exception
    Thrown if a plug-in catches a runtime exception and decides to re-throw it as checked exception to the caller .
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginRuntimeException​(java.lang.String caller, java.lang.String message, java.lang.Throwable cause)
      Create a basic publishing server exception.
    • 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

      • PluginRuntimeException

        public PluginRuntimeException​(java.lang.String caller,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
        Create a basic publishing server exception.
        Parameters:
        caller - Object that creates this exception. Object class name will be used as name of the module that created this exception. If caller is of type String the string itself will be used as module name (long strings might be truncated).
        message - short textual error message, possibly containing some identifying object data
        cause - (optional) original exception leading to this one or null