|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException de.smartics.properties.api.core.app.PropertyRootException de.smartics.properties.spi.config.ds.DataSourceException
public class DataSourceException
Signals problems with accessing a data source.
Constructor Summary | |
---|---|
DataSourceException(String message, String dataSourceId) Convenience constructor without a root cause. |
|
DataSourceException(String message, Throwable cause, String dataSourceId) Constructor. |
|
DataSourceException(Throwable cause, String dataSourceId) Convenience constructor without a message. |
Method Summary | |
---|---|
String |
getDataSourceId() Returns the identifier of the data source. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataSourceException(String message, String dataSourceId)
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
dataSourceId
- the identifier of the data source.
public DataSourceException(Throwable cause, String dataSourceId)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
dataSourceId
- the identifier of the data source.
public DataSourceException(String message, Throwable cause, String dataSourceId)
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
dataSourceId
- the identifier of the data source.
Method Detail |
---|
public final String getDataSourceId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |