uk.org.ogsadai.client.toolkit.exception
Class ResourceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.client.toolkit.exception.DAIException
                    |
                    +--uk.org.ogsadai.client.toolkit.exception.UserException
                          |
                          +--uk.org.ogsadai.client.toolkit.exception.ResourceException
All Implemented Interfaces:
java.io.Serializable

public class ResourceException
extends UserException

Exception thrown when the resource cannot be found or the resource ID is not valid.

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

Constructor Summary
ResourceException(java.lang.String resource, java.lang.String description, java.lang.Throwable cause, org.apache.log4j.Logger logger)
          Constructor.
ResourceException(java.lang.String resource, java.lang.Throwable cause, org.apache.log4j.Logger logger)
          Constructor.
 
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

ResourceException

public ResourceException(java.lang.String resource,
                         java.lang.Throwable cause,
                         org.apache.log4j.Logger logger)
Constructor.

Parameters:
resource - name of the resource that could not be found
cause - exception returned by the service
logger - logger to use for error logging

ResourceException

public ResourceException(java.lang.String resource,
                         java.lang.String description,
                         java.lang.Throwable cause,
                         org.apache.log4j.Logger logger)
Constructor.

Parameters:
resource - name of the resource that could not be found
cause - exception returned by the service
logger - logger to use for error logging