Package com.vaadin.featurepack.data
Class Buffered.SourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.featurepack.data.Buffered.SourceException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
Buffered
An exception that signals that one or more exceptions occurred while a
buffered object tried to access its data source or if there is a problem
in processing a data source.
- Since:
- 3.0
- Author:
- Vaadin Ltd.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSourceException(Buffered source) Creates a source exception that does not include a cause.SourceException(Buffered source, Throwable... causes) Creates a source exception from multiple causes. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SourceException
Creates a source exception that does not include a cause.- Parameters:
source- the source object implementing the Buffered interface.
-
SourceException
Creates a source exception from multiple causes.- Parameters:
source- the source object implementing the Buffered interface.causes- the original causes for this exception.
-
-
Method Details
-
getCause
Gets the cause of the exception. -
getCauses
Gets all the causes for this exception.- Returns:
- throwables that caused this exception
-
getSource
Gets a source of the exception.- Returns:
- the Buffered object which generated this exception.
-