Class InternalServerError

    • Constructor Detail

      • InternalServerError

        public InternalServerError()
    • Method Detail

      • setErrorParameter

        public int setErrorParameter​(BeforeEnterEvent event,
                                     ErrorParameter<Exception> parameter)
        Description copied from interface: HasErrorParameter
        Callback executed before rendering the exception view.

        Note! returned int should be a valid HttpServletResponse code

        Specified by:
        setErrorParameter in interface HasErrorParameter<Exception>
        Parameters:
        event - the before navigation event for this request
        parameter - error parameter containing custom exception and caught exception
        Returns:
        a valid HttpServletResponse code
      • hasLogBinding

        protected boolean hasLogBinding()
        Returns true if there is a logging binding available for SLF4J.
        Returns:
        true if there is a SLF4J logging binding