public final class DatasourceAlreadyExistsException extends Exception
Constructor and Description |
---|
DatasourceAlreadyExistsException(Datasource datasource)
Creates new DatasourceAlreadyExistsException with the conflicting data source
|
DatasourceAlreadyExistsException(List<Datasource> datasources)
Creates new DatasourceAlreadyExistsException with the list of conflicting data sources
|
Modifier and Type | Method and Description |
---|---|
List<Datasource> |
getDatasources()
Returns list of conflicting data sources
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DatasourceAlreadyExistsException(List<Datasource> datasources)
datasources
- the list of conflicting data sourcesNullPointerException
- if the datasources
argument is null
public DatasourceAlreadyExistsException(Datasource datasource)
datasource
- the conflicting data sourcepublic List<Datasource> getDatasources()