Class DevMode500InternalServerError

java.lang.Object
dev.voidframework.web.http.errorpage.DevMode500InternalServerError

public final class DevMode500InternalServerError extends Object
Generates a "500 Internal Server Error" page when development mode is enabled. The template engine is not used, as it is not guaranteed to be available or compatible.
  • Constructor Details

    • DevMode500InternalServerError

      public DevMode500InternalServerError()
  • Method Details

    • render

      public static String render(String errorMessage, String errorLocation, int errorLineNumber, List<DefaultErrorHandler.FileLine> fileLineList)
      Render template.
      Parameters:
      errorMessage - The error message
      errorLocation - Where the error occur
      errorLineNumber - Line number (from zero) where is located the error
      fileLineList - Partial file line content
      Returns:
      The rendered template