uk.ac.ic.doc.automed.wrappers
Class DataSourceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.ac.ic.doc.automed.AutoMedException
                    |
                    +--uk.ac.ic.doc.automed.wrappers.DataSourceException
All Implemented Interfaces:
java.io.Serializable

public class DataSourceException
extends AutoMedException

Generated when some problem occurs when accessing a data source, such as the wrong password being supplied.

Author:
Peter McBrien (pjm@doc.ic.ac.uk)
See Also:
Serialized Form

Constructor Summary
DataSourceException(java.lang.String msg)
          Creates an DataSourceException when there has been no Exception that caused the error to discovered.
DataSourceException(java.lang.String msg, java.lang.Exception e)
          Creates an DataSourceException when it is acting as a wrapper for other Exceptions.
 
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

DataSourceException

public DataSourceException(java.lang.String msg)
Creates an DataSourceException when there has been no Exception that caused the error to discovered.

Parameters:
msg - message for the exception.

DataSourceException

public DataSourceException(java.lang.String msg,
                           java.lang.Exception e)
Creates an DataSourceException when it is acting as a wrapper for other Exceptions.

Parameters:
msg - message for the exception.