uk.org.ogsadai.dataresource
Class DataResourceUseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.dataresource.DataResourceUseException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable
Direct Known Subclasses:
FilesResourceUseException, JDBCConnectionUseException, XMLDBCollectionUseException, XMLDBUnknownSubCollectionException

public abstract class DataResourceUseException
extends DAIException

A problem was encountered when using a data resource.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
protected DataResourceUseException()
          No argument constructor used by sub-classes that need to perform work before the error ID and parameters are known.
protected DataResourceUseException(ErrorID errorID)
          Constructs an exception corresponding to the given error ID.
protected DataResourceUseException(ErrorID errorID, java.lang.Object[] parameters)
          Constructs an exception corresponding the given error ID and parameters.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values
Constructor Detail

DataResourceUseException

protected DataResourceUseException()
No argument constructor used by sub-classes that need to perform work before the error ID and parameters are known. If this constuctor is used the caller must subsequently set the error ID and possibly also the parameters.


DataResourceUseException

protected DataResourceUseException(ErrorID errorID)
Constructs an exception corresponding to the given error ID. This error ID is associated with no parameters.

Parameters:
errorID - Error ID identifying the error type.

DataResourceUseException

protected DataResourceUseException(ErrorID errorID,
                                   java.lang.Object[] parameters)
Constructs an exception corresponding the given error ID and parameters.

Parameters:
errorID - Error ID identifying the error type
parameters - Parameters associated with the error.