Exception SystemError

System error is a runtime exception caused by error in system. The system error can be shown to the user as it implements ErrorMessage interface, but contains technical information such as stack trace and exception.

Synopsis

Since

3.0

Inheritance Path.  java.lang.Object-> java.lang.Throwable-> java.lang.Exception-> java.lang.RuntimeException-> com.itmill.toolkit.terminal.SystemError

SystemError(String)

Parameters

message

Textual error description.

Constructor for SystemError with error message specified.

SystemError(String, Throwable)

Parameters

message

Textual error description.

cause

The throwable causing the system error.

Constructor for SystemError with causing exception and error message.

SystemError(Throwable)

Parameters

cause

The throwable causing the system error.

Constructor for SystemError with cause.

addListener(Paintable.RepaintRequestListener)

Description copied from interface: addListener

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.

getCause()

Get cause for the error

getErrorLevel()

Parameters

return

the level of error as an integer.

Description copied from interface: getErrorLevel

Gets the errors level.

removeListener(Paintable.RepaintRequestListener)

Description copied from interface: removeListener

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.

requestRepaint()

Description copied from interface: requestRepaint

Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.