uk.org.ogsadai.common.exception.tools
Class ToolException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.common.exception.DAIException
                    |
                    +--uk.org.ogsadai.common.exception.tools.ToolException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ToolSystemException, ToolUserException

public abstract class ToolException
extends DAIException

An exception which indicates an error condition which has arisen within an OGSA-DAI tool.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.org.ogsadai.common.exception.DAIException
mException, mMessageNumber, mParams
 
Constructor Summary
ToolException(int num, java.lang.Object[] params)
          Construct a new exception, using a specified message from the message bundle.
ToolException(int num, java.lang.Object[] params, java.lang.Throwable ex)
          Construct a new exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.
 
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

ToolException

public ToolException(int num,
                     java.lang.Object[] params)
Construct a new exception, using a specified message from the message bundle.

Parameters:
num - the index of the message in the message bundle
params - the parameters to substitute into the message, or null if the message expects no parameters

ToolException

public ToolException(int num,
                     java.lang.Object[] params,
                     java.lang.Throwable ex)
Construct a new exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.

Parameters:
num - the index of the message in the message bundle
params - the parameters to substitute into the message, or null if the message expects no parameters
ex - the exception which caused this exception to be thrown