Package io.quarkus.dev
Class ErrorPageGenerators
- java.lang.Object
-
- io.quarkus.dev.ErrorPageGenerators
-
public class ErrorPageGenerators extends Object
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 Constructor Description ErrorPageGenerators()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclear()static Function<Throwable,String>get(String rootCauseClassName)static voidregister(String rootCauseClassName, Function<Throwable,String> function)Register a function that will be used to generate the error page for the given root cause.
-