- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ErrorHandler
extends javax.servlet.http.HttpServlet
The generic fall-back error handler.
Called when a critical internal error (such as null pointer exception) happens during servlet execution.
This class will convert all errors to a 500 INTERNAL SERVER ERROR HTTP response hiding the actual error
from the user, and prints the exception stacktrace (if available) to the system log.
- See Also:
- Serialized Form