@Tag(value="div") 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, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttachListener
addDetachListener
public 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 © 2020. All rights reserved.