Class ServletExceptionWithCause

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

    public class ServletExceptionWithCause
    extends javax.servlet.ServletException
    Utility class that links ServletException with support for the exception chaining mechanism in Throwable.
    See Also:
    JCR-1598, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ServletExceptionWithCause​(java.lang.String message, java.lang.Throwable cause)
      Creates a servlet exception with the given message and cause.
    • Method Summary

      • Methods inherited from class javax.servlet.ServletException

        getRootCause
      • 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

      • ServletExceptionWithCause

        public ServletExceptionWithCause​(java.lang.String message,
                                         java.lang.Throwable cause)
        Creates a servlet exception with the given message and cause.
        Parameters:
        message - exception message
        cause - cause of the exception