public abstract class ConnectorException
extends java.lang.Exception
Modifier and Type | Method and Description |
---|---|
ConnectorException |
addProperty(java.lang.String name,
java.lang.String value)
Adds an additional property relevant to the exception that needs to be logged.
|
java.util.List<Property> |
getAdditionalProperties()
Returns a list of additional properties relevant to the exception that need to be logged.
|
ConnectorSpec |
getConnectorSpec()
Returns the connector specification object, if any.
|
DataSetSpec |
getDataSetSpec()
Returns the data set specification object, if any.
|
public ConnectorSpec getConnectorSpec()
ConnectorSpec
objectpublic DataSetSpec getDataSetSpec()
DataSetSpec
objectpublic java.util.List<Property> getAdditionalProperties()
Property
objectspublic ConnectorException addProperty(java.lang.String name, java.lang.String value)
name
- Property namevalue
- Property valueConnectorException
object for chaining