An exception that signals that one or more exceptions occurred while a buffered object tried to access its data source.
3.0
Inheritance Path. java.lang.Object-> java.lang.Throwable-> java.lang.Exception-> java.lang.RuntimeException-> com.itmill.toolkit.data.Buffered.SourceException
Parameters
source
the source object implementing the Buffered interface.
Creates a source exception that does not include a cause.
Parameters
source
the source object implementing the Buffered interface.
cause
the original cause for this exception.
Creates a source exception from a cause exception.
Parameters
source
the source object implementing the Buffered interface.
causes
the original causes for this exception.
Creates a source exception from multiplse causes.
Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.
Parameters
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.
Parameters
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
.
Parameters
the Buffered object which generated this exception.
Get the source of the exception.
Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.
Error messages are inmodifiable and thus listeners are not needed. This method should be implemented as empty.