Interface CGIErrorHandler

  • All Known Implementing Classes:
    DefaultErrorHandler

    public interface CGIErrorHandler
    Interface to handle exceptions in the CGI.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void print​(boolean headers_sent, java.lang.Exception e)
      This is called if an exception is not caught in the CGI.
    • Method Detail

      • print

        void print​(boolean headers_sent,
                   java.lang.Exception e)
        This is called if an exception is not caught in the CGI. It should handle printing the error message nicely to the user, and then exit gracefully.