ProgramixGenericLib v5.0.1

com.programix.da2.exception
Class DAException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.programix.da2.exception.DAException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommunicationDAException, DABridgeDAException, DataStateDAException, NotYetAvailableDAException, SecurityDAException, ShutdownDAException, ValidationDAException

public class DAException
extends Exception

Thrown to indicate a technical problem with the 'Data Access Layer'. For example, instead of throwing an SQLException if there were problems talking to the database, chain it to a DAException 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, a more specific subclass of DAExcepion could be used or another application-specific exception could be used.

Author:
Paul Hyde
See Also:
Serialized Form

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

DAException

public DAException()

DAException

public DAException(String message)

DAException

public DAException(Throwable cause)

DAException

public DAException(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.