uk.org.ogsadai.engine.controlflow
Class RequestSystemException

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.RequestSystemException
All Implemented Interfaces:
java.io.Serializable

public class RequestSystemException
extends RequestException

Raised when there is a system 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
RequestSystemException(DAIException cause, org.apache.log4j.Logger logger)
          Construct a new exception with the specified cause.
RequestSystemException(int messageNumber, org.apache.log4j.Logger logger)
          Construct a new exception with the specified message number.
RequestSystemException(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

RequestSystemException

public RequestSystemException(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

RequestSystemException

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

Parameters:
messageNumber - the message number describing the cause of the exception
cause - the exception which caused this exception to be thrown
logger - the logger to log the error to

RequestSystemException

public RequestSystemException(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