Package com.oorian

Class DefaultServerErrorPage


public class DefaultServerErrorPage extends DefaultErrorPage
Built-in 500 error page that displays a clean "Something Went Wrong" message.

This page is a specialization of DefaultErrorPage for HTTP 500 responses. It can be explicitly registered for the 500 status code, or left to the framework's automatic fallback which uses DefaultErrorPage for all unregistered status codes.

Usage:


 setErrorPage(500, DefaultServerErrorPage.class);
 
Since:
2.1
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • DefaultServerErrorPage

      public DefaultServerErrorPage()
      Creates a new DefaultServerErrorPage instance.