public class DataSourceException extends IOException
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 and Description |
---|
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
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DataSourceException(String msg)
msg
- A message explaining the exceptionpublic DataSourceException(Throwable cause)
cause
- A message explaining the exceptionCopyright © 1996–2019 Geotools. All rights reserved.