public class ErrorPageGenerators extends Object
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 and Description |
|---|
ErrorPageGenerators() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear() |
static Function<Throwable,String> |
get(String rootCauseClassName) |
static void |
register(String rootCauseClassName,
Function<Throwable,String> function)
Register a function that will be used to generate the error page for the given root cause.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.