@Tag(value="div") @DefaultErrorHandler public class InternalServerError extends Component implements HasErrorParameter<Exception>
| Constructor and Description |
|---|
InternalServerError() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasLogBinding()
Returns
true if there is a logging binding available for SLF4J. |
int |
setErrorParameter(BeforeEnterEvent event,
ErrorParameter<Exception> parameter)
Callback executed before rendering the exception view.
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttachListeneraddDetachListenerpublic int setErrorParameter(BeforeEnterEvent event, ErrorParameter<Exception> parameter)
HasErrorParameter
Note! returned int should be a valid
HttpServletResponse code
setErrorParameter in interface HasErrorParameter<Exception>event - the before navigation event for this requestparameter - error parameter containing custom exception and caught
exceptionHttpServletResponse codeprotected boolean hasLogBinding()
true if there is a logging binding available for SLF4J.true if there is a SLF4J logging bindingCopyright © 2025. All rights reserved.