Interface ErrorMessage

Interface for rendering error messages to terminal. All the visible errors shown to user must implement this interface.

Synopsis

Since

3.0

Inheritance Path.  com.itmill.toolkit.terminal.ErrorMessage

CRITICAL

Error code for critical error messages.

ERROR

Error code for regular error messages.

INFORMATION

Error code for informational messages.

SYSTEMERROR

Error code for system errors and bugs.

WARNING

Error code for warning messages.

addListener(Paintable.RepaintRequestListener)

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

getErrorLevel()

Parameters

return

the level of error as an integer.

Gets the errors level.

removeListener(Paintable.RepaintRequestListener)

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

requestRepaint()

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