com.programix.da2.exception
Class DAException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DAException
public DAException()
DAException
public DAException(String message)
DAException
public DAException(Throwable cause)
DAException
public DAException(String message,
Throwable cause)
Copyright © 2001-2009
Programix Incorporated.
All rights reserved.
ProgramixGenericLib is free
and is
OSI Certified
Open Source Software under the BSD
license.