uk.org.ogsadai.engine.controlflow
Class RequestUserException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.common.exception.DAIException
                    |
                    +--uk.org.ogsadai.common.exception.engine.EngineException
                          |
                          +--uk.org.ogsadai.engine.controlflow.RequestException
                                |
                                +--uk.org.ogsadai.engine.controlflow.RequestUserException
All Implemented Interfaces:
java.io.Serializable

public class RequestUserException
extends RequestException

Raised when there is a user problem constructing or processing a request.

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

Field Summary
 
Fields inherited from class uk.org.ogsadai.common.exception.DAIException
mException, mMessageNumber, mParams
 
Constructor Summary
RequestUserException(DAIException cause, org.apache.log4j.Logger logger)
          Construct a new exception with the specified cause.
RequestUserException(int messageNumber, org.apache.log4j.Logger logger)
          Construct a new exception with the specified message number.
RequestUserException(int messageNumber, java.lang.Throwable cause, org.apache.log4j.Logger logger)
          Construct a new exception with the specified cause.
 
Methods inherited from class uk.org.ogsadai.common.exception.DAIException
getException, getLocalizedMessage, getMessageNumber, getParams, stackTraceToString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

RequestUserException

public RequestUserException(int messageNumber,
                            org.apache.log4j.Logger logger)
Construct a new exception with the specified message number.

Parameters:
messageNumber - the message number describing the cause of the exception
logger - the logger to log the error to

RequestUserException

public RequestUserException(int messageNumber,
                            java.lang.Throwable cause,
                            org.apache.log4j.Logger logger)
Construct a new exception with the specified cause.

Parameters:
cause - the exception which caused this exception to be thrown
logger - the logger to log the error to

RequestUserException

public RequestUserException(DAIException cause,
                            org.apache.log4j.Logger logger)
Construct a new exception with the specified cause. In this case the cause can only be a DAIException and the cause message number will be copied straight into this exception's message number.

Parameters:
cause - the exception which caused this exception to be thrown
logger - the logger to log the error to