ProgramixGenericLib v5.0.1

com.programix.da
Class DataAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.programix.da.DataAccessException
All Implemented Interfaces:
Serializable

public class DataAccessException
extends Exception

Thrown to indicate a technical problem with the 'Data Access Layer' inner workings. For example, instead of throwing an SQLException if there were problems talking to the database, chain it to a DataAccessException and throw that instead. However, if there was another kind of problem (like a required value missing) and if the application was able to communicate with the network, file, database, remote object, or whatever, DataAccessExcepion should NOT be used—use an application-specific exception instead. DataAccessException means a part of the subsystem failed.

Author:
Paul Hyde
See Also:
Serialized Form

Constructor Summary
DataAccessException()
           
DataAccessException(String message)
           
DataAccessException(String message, Throwable cause)
           
DataAccessException(Throwable cause)
           
 
Method Summary
 
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

DataAccessException

public DataAccessException()

DataAccessException

public DataAccessException(String message)

DataAccessException

public DataAccessException(Throwable cause)

DataAccessException

public DataAccessException(String message,
                           Throwable cause)

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.