Package com.vaadin.v7.data
Class Buffered.SourceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.vaadin.v7.data.Buffered.SourceException
-
- All Implemented Interfaces:
ErrorMessageProducer
,Serializable
- Enclosing interface:
- Buffered
@Deprecated public static class Buffered.SourceException extends RuntimeException implements ErrorMessageProducer
Deprecated.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SourceException(Buffered source)
Deprecated.Creates a source exception that does not include a cause.SourceException(Buffered source, Throwable... causes)
Deprecated.Creates a source exception from multiple causes.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Throwable
getCause()
Deprecated.Gets the cause of the exception.Throwable[]
getCauses()
Deprecated.Gets all the causes for this exception.ErrorMessage
getErrorMessage()
Deprecated.Buffered
getSource()
Deprecated.Gets a source of the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SourceException
public SourceException(Buffered source)
Deprecated.Creates a source exception that does not include a cause.- Parameters:
source
- the source object implementing the Buffered interface.
-
-
Method Detail
-
getCause
public final Throwable getCause()
Deprecated.Gets the cause of the exception.
-
getCauses
public final Throwable[] getCauses()
Deprecated.Gets all the causes for this exception.- Returns:
- throwables that caused this exception
-
getSource
public Buffered getSource()
Deprecated.Gets a source of the exception.- Returns:
- the Buffered object which generated this exception.
-
getErrorMessage
public ErrorMessage getErrorMessage()
Deprecated.- Specified by:
getErrorMessage
in interfaceErrorMessageProducer
-
-