|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
IOException
DataSourceException
public class 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(String msg)
Constructs a new instance of DataSourceException |
|
DataSourceException(String msg,
Throwable cause)
Constructs a new instance of DataSourceException |
|
DataSourceException(Throwable cause)
Constructs a new instance of DataSourceException |
Method Summary |
---|
Methods inherited from class Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataSourceException(String msg)
msg
- A message explaining the exceptionpublic DataSourceException(Throwable cause)
cause
- A message explaining the exceptionpublic DataSourceException(String msg, 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 |