public class DiscoveryException extends ConnectorException
Modifier and Type | Class and Description |
---|---|
static class |
DiscoveryException.Type
An enum representing the type of entity that was being discovered when the exception occurred.
|
Constructor and Description |
---|
DiscoveryException(DataSetSpec dataSetSpec)
Creates a new
DiscoveryException instance. |
DiscoveryException(DataSetSpec dataSetSpec,
java.lang.String sourceName)
Creates a new
DiscoveryException instance. |
DiscoveryException(DataSetSpec dataSetSpec,
java.lang.String sourceName,
java.lang.Throwable cause)
Creates a new
DiscoveryException instance. |
DiscoveryException(DataSetSpec dataSetSpec,
java.lang.Throwable cause)
Creates a new
DiscoveryException instance. |
DiscoveryException(DiscoveryException.Type type,
ConnectorSpec connectorSpec)
Creates a new
DiscoveryException instance. |
DiscoveryException(DiscoveryException.Type type,
ConnectorSpec connectorSpec,
java.lang.String sourceName)
Creates a new
DiscoveryException instance. |
DiscoveryException(DiscoveryException.Type type,
ConnectorSpec connectorSpec,
java.lang.String sourceName,
java.lang.Throwable cause)
Creates a new
DiscoveryException instance. |
DiscoveryException(DiscoveryException.Type type,
ConnectorSpec connectorSpec,
java.lang.Throwable cause)
Creates a new
DiscoveryException instance. |
DiscoveryException(DiscoveryException.Type type,
java.lang.String sourceName)
Creates a new
DiscoveryException instance. |
DiscoveryException(DiscoveryException.Type type,
java.lang.String sourceName,
java.lang.Throwable cause)
Creates a new
DiscoveryException instance. |
DiscoveryException(java.lang.String message,
DataSetSpec dataSetSpec)
Creates a new
DiscoveryException instance. |
DiscoveryException(java.lang.String message,
DataSetSpec dataSetSpec,
java.lang.String sourceName)
Creates a new
DiscoveryException instance. |
DiscoveryException(java.lang.String message,
DataSetSpec dataSetSpec,
java.lang.String sourceName,
java.lang.Throwable cause)
Creates a new
DiscoveryException instance. |
DiscoveryException(java.lang.String message,
DataSetSpec dataSetSpec,
java.lang.Throwable cause)
Creates a new
DiscoveryException instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSourceName()
Returns the name of the source (e.g.
|
DiscoveryException.Type |
getType()
Returns the entity that was being discovered when the error occurred (see
DiscoveryException.Type ) |
addProperty, getAdditionalProperties, getConnectorSpec, getDataSetSpec
public DiscoveryException(DiscoveryException.Type type, java.lang.String sourceName)
DiscoveryException
instance.type
- The entity that was being discovered when the error occurred (see DiscoveryException.Type
)sourceName
- The name of the source (e.g. connector) that encountered the errorpublic DiscoveryException(DiscoveryException.Type type, java.lang.String sourceName, java.lang.Throwable cause)
DiscoveryException
instance.type
- The entity that was being discovered when the error occurred (see DiscoveryException.Type
)sourceName
- The name of the source (e.g. connector) that encountered the errorcause
- Exception causepublic DiscoveryException(DiscoveryException.Type type, ConnectorSpec connectorSpec)
DiscoveryException
instance.type
- The entity that was being discovered when the error occurred (see DiscoveryException.Type
)connectorSpec
- Specification of the connector that encountered the errorpublic DiscoveryException(DiscoveryException.Type type, ConnectorSpec connectorSpec, java.lang.Throwable cause)
DiscoveryException
instance.type
- The entity that was being discovered when the error occurred (see DiscoveryException.Type
)connectorSpec
- Specification of the connector that encountered the errorcause
- Exception causepublic DiscoveryException(DiscoveryException.Type type, ConnectorSpec connectorSpec, java.lang.String sourceName)
DiscoveryException
instance.type
- The entity that was being discovered when the error occurred (see DiscoveryException.Type
)connectorSpec
- Specification of the connector that encountered the errorsourceName
- The name of the source (e.g. connector) that encountered the errorpublic DiscoveryException(DiscoveryException.Type type, ConnectorSpec connectorSpec, java.lang.String sourceName, java.lang.Throwable cause)
DiscoveryException
instance.type
- The entity that was being discovered when the error occurred (see DiscoveryException.Type
)connectorSpec
- Specification of the connector that encountered the errorsourceName
- The name of the source (e.g. connector) that encountered the errorcause
- Exception causepublic DiscoveryException(DataSetSpec dataSetSpec)
DiscoveryException
instance. Type is assumed to be DATASET
.dataSetSpec
- Specification of the data set that encountered the errorpublic DiscoveryException(DataSetSpec dataSetSpec, java.lang.Throwable cause)
DiscoveryException
instance. Type is assumed to be DATASET
.dataSetSpec
- Specification of the data set that encountered the errorcause
- Exception causepublic DiscoveryException(DataSetSpec dataSetSpec, java.lang.String sourceName)
DiscoveryException
instance. Type is assumed to be DATASET
.dataSetSpec
- Specification of the data set that encountered the errorsourceName
- The name of the source (e.g. connector) that encountered the errorpublic DiscoveryException(DataSetSpec dataSetSpec, java.lang.String sourceName, java.lang.Throwable cause)
DiscoveryException
instance. Type is assumed to be DATASET
.dataSetSpec
- Specification of the data set that encountered the errorsourceName
- The name of the source (e.g. connector) that encountered the errorcause
- Exception causepublic DiscoveryException(java.lang.String message, DataSetSpec dataSetSpec)
DiscoveryException
instance. Type is assumed to be DATASET
.message
- Exception messagedataSetSpec
- Specification of the data set that encountered the errorpublic DiscoveryException(java.lang.String message, DataSetSpec dataSetSpec, java.lang.Throwable cause)
DiscoveryException
instance. Type is assumed to be DATASET
.message
- Exception messagedataSetSpec
- Specification of the data set that encountered the errorcause
- Exception causepublic DiscoveryException(java.lang.String message, DataSetSpec dataSetSpec, java.lang.String sourceName)
DiscoveryException
instance. Type is assumed to be DATASET
.message
- Exception messagedataSetSpec
- Specification of the data set that encountered the errorsourceName
- The name of the source (e.g. connector) that encountered the errorpublic DiscoveryException(java.lang.String message, DataSetSpec dataSetSpec, java.lang.String sourceName, java.lang.Throwable cause)
DiscoveryException
instance. Type is assumed to be DATASET
.message
- Exception messagedataSetSpec
- Specification of the data set that encountered the errorsourceName
- The name of the source (e.g. connector) that encountered the errorcause
- Exception causepublic java.lang.String getSourceName()
public DiscoveryException.Type getType()
DiscoveryException.Type
)