Class DevMode500InternalServerError
java.lang.Object
dev.voidframework.web.http.errorpage.DevMode500InternalServerError
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 Summary
Constructors -
Method Summary
-
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 messageerrorLocation- Where the error occurerrorLineNumber- Line number (from zero) where is located the errorfileLineList- Partial file line content- Returns:
- The rendered template
-