ProgramixGenericLib v4.0.0

Uses of Class
com.programix.da2.exception.DAException

Packages that use DAException
com.programix.da2 Framework for using the "DataAccess Interface Design Pattern". 
com.programix.da2.bridge   
com.programix.da2.exception   
 

Uses of DAException in com.programix.da2
 

Methods in com.programix.da2 that return DAException
static DAException DATools.chainWithPrefix(String msg, Throwable cause)
          Returns a new DAException with that has the specified cause chained to it and a message the starts with the specified prefix and ends with the message from the cause.
static DAException DATools.convert(Throwable x)
          Takes the specified Throwable and wraps it in a DAException (if necessary).
 

Methods in com.programix.da2 that throw DAException
static GenericDA DAFactory.create(File file, Class targetType)
          Create a data access instance using an File whose data is in the format described by ValueMap (nearly identical to the format for a Properties file).
static GenericDA DAFactory.create(InputStream rawIn, Class targetType)
          Create a data access instance using an InputStream whose data is in the format described by ValueMap (nearly identical to the format for a Properties file).
static GenericDA DAFactory.create(Reader rawIn, Class targetType)
          Create a data access instance using a Reader whose data is in the format described by ValueMap (nearly identical to the format for a Properties file).
static GenericDA DAFactory.create(URL propertiesURL, Class targetType)
          Create a data access instance using the specified URL whose data is in the format described by ValueMap(nearly identical to the format for a Properties file).
static GenericDA DAFactory.create(ValueMap config, Class daInterfaceType)
          Constructs an instance of the data access implementation specified in the configuration.
static GenericDA DAFactory.createFromFile(String filename, Class targetType)
          Create a data access instance using the specified filename whose data is in the format described by ValueMap(nearly identical to the format for a Properties file).
static GenericDA DAFactory.createFromResource(String resourceLocation, Class targetType)
          Create a data access instance using the specified resourceLocation whose data is in the format described by ValueMap(nearly identical to the format for a Properties file).
 GenericDA ConfigDASource.getDA(Class dataAccessType)
           
 GenericDA DASource.getDA(Class daInterfaceType)
          Searches for an implementation of the specified interface type.
 GenericDA DAStore.getDA(Class daInterfaceType)
           
 void GenericDA.init(ValueMap config)
          Called once just after construction to allow the implementation to setup everything required to run.
 void DecoratorDA.setSource(GenericDA source)
          Specifies the source that is to be decorated by this decorator.
 

Uses of DAException in com.programix.da2.bridge
 

Subclasses of DAException in com.programix.da2.bridge
 class DABridgeDAException
          Used for problems with the DABridge subsystem.
 

Methods in com.programix.da2.bridge that throw DAException
 GenericDA DABridgeProxy.getDA(Class daInterfaceType)
           
 Exception DABridgeResponse.getException()
           
 Object DABridgeResponse.getResult()
           
 void DABridgeProcessor.init(ValueMap config)
           
 void DABridgeSessionProcessor.init(ValueMap config)
           
 DABridgeResponse DABridgeProcessor.process(DABridgeRequest req)
           
 DABridgeResponse DABridgeSessionProcessor.process(DABridgeRequest req)
           
 

Uses of DAException in com.programix.da2.exception
 

Subclasses of DAException in com.programix.da2.exception
 class CommunicationDAException
          This kind of DAException is thrown to indicate that there was a communication problem while trying to process the request.
 class DataStateDAException
          This kind of DAException is thrown to indicate that there is a problem with the state of the data (such as locked by another user, stale data, unexpectedly not found).
 class LockedDAException
          This kind of DataStateDAException is thrown to indicate that there is a problem accessing the data because it is currently locked.
 class NotAuthenticatedDAException
          This kind of SecurityDAException is thrown to indicate that the user has not been authenticated.
 class NotAuthorizedDAException
          This kind of SecurityDAException is thrown to indicate that the user is not authorized to perform the attempted action.
 class NotFoundDAException
          This kind of DataStateDAException is thrown to indicate that there is a problem the data was very unexpectedly not found.
 class SecurityDAException
          This kind of DAException is used to signal that there is a security-based problem fulfilling the request.
 class ShutdownDAException
          This kind of DAException is thrown to indicate that the attempted call can no be completed because the DA has been shutdown.
 class StaleDataDAException
          Used with Optimistic Concurrency Control to indicate that there has been an attempt to update a record with a stale version.
 class ValidationDAException
          This kind of DAException is thrown to indicate that there was a problem validating the data.
 


ProgramixGenericLib v4.0.0

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