Package io.quarkus.dev
Class ErrorPageGenerators
java.lang.Object
io.quarkus.dev.ErrorPageGenerators
The generators can be used to generate a custom HTML page for a specific deployment exception that occurs during the
development mode.
In order to avoid classloading issues the generators should not access the root cause directly but use reflection instead (the exception class could be loaded by a different class loader).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ErrorPageGenerators
public ErrorPageGenerators()
-
-
Method Details
-
register
Register a function that will be used to generate the error page for the given root cause.- Parameters:
rootCauseClassName-function-
-
get
-
clear
public static void clear()
-