Expresso 5-6

com.jcorporate.expresso.core.db.datasource
Class DSException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.jcorporate.expresso.kernel.exception.ChainedException
              extended bycom.jcorporate.expresso.core.db.DBException
                  extended bycom.jcorporate.expresso.core.db.datasource.DSException
All Implemented Interfaces:
Serializable

public class DSException
extends DBException

Date Source Interface

Author:
Yves Henri AMAIZO
See Also:
Serialized Form

Constructor Summary
DSException()
          Default Constructor
DSException(String s)
          Constructs a DSException using a message
DSException(String s, String newDatasourceMessage)
           
DSException(String s, Throwable t)
          Constructs a DSException using a message
DSException(Throwable t)
          Constructs a DSException embedding an Exception within it.
 
Methods inherited from class com.jcorporate.expresso.core.db.DBException
getDBMessage, getMessage
 
Methods inherited from class com.jcorporate.expresso.kernel.exception.ChainedException
getErrorNumber, getNested, omitPackages, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSException

public DSException()
Default Constructor


DSException

public DSException(String s)
Constructs a DSException using a message

Parameters:
s - The message String

DSException

public DSException(String s,
                   String newDatasourceMessage)
Parameters:
s - The message String
newDatasourceMessage - The message retrieved from the JDBC driver

DSException

public DSException(String s,
                   Throwable t)
Constructs a DSException using a message

Parameters:
s - The message String
t - java.lang.Throwable, presumably an exception you've already caught in another block of code.

DSException

public DSException(Throwable t)
Constructs a DSException embedding an Exception within it.

Parameters:
t - java.lang.Throwable, presumably an exception you've already caught in another block of code.

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.