Exception Buffered.SourceException

An exception that signals that one or more exceptions occurred while a buffered object tried to access its data source.

Synopsis

Since

3.0

Inheritance Path.  java.lang.Object-> java.lang.Throwable-> java.lang.Exception-> java.lang.RuntimeException-> com.itmill.toolkit.data.Buffered.SourceException

Buffered.SourceException(Buffered)

Parameters

source

the source object implementing the Buffered interface.

Creates a source exception that does not include a cause.

Buffered.SourceException(Buffered, Throwable)

Parameters

source

the source object implementing the Buffered interface.

cause

the original cause for this exception.

Creates a source exception from a cause exception.

Buffered.SourceException(Buffered, Throwable[])

Parameters

source

the source object implementing the Buffered interface.

causes

the original causes for this exception.

Creates a source exception from multiplse causes.

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()

Parameters

return

The cause for the exception.

Exceptions

MoreThanOneCauseException

if there is more than one cause for the exception. This is possible if the commit operation triggers more than one error at the same time.

Get the cause of the exception.

getCauses()

Parameters

return

throwables that caused this exception

Get all the causes for this exception.

getErrorLevel()

Get the error level of this buffered source exception. The level of the exception is maximum error level of all the contained causes. The causes that do not specify error level default to ERROR level. Also source exception without any causes are of level ERROR .

getSource()

Parameters

return

the Buffered object which generated this exception.

Get the source of the exception.

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.