|
|||||||||||
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.io.IOException org.geotools.data.DataSourceException
Thrown when there is an error in a datasource.
This class was used back in Java 1.3 before the initCause() method was available for IOException. Since this class is used to pass on problems from external services, providing the root cause is important.
Constructor Summary | |
DataSourceException(java.lang.String msg)
Constructs a new instance of DataSourceException |
|
DataSourceException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new instance of DataSourceException |
|
DataSourceException(java.lang.Throwable cause)
Constructs a new instance of DataSourceException |
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(java.lang.String msg)
msg
- A message explaining the exceptionpublic DataSourceException(java.lang.Throwable cause)
cause
- A message explaining the exceptionpublic DataSourceException(java.lang.String msg, java.lang.Throwable cause)
msg
- A message explaining the exceptioncause
- the throwable object which caused this exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |