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

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

public class DataFormatException
extends DAIException

Exception throw then activity output data is not in the format required to perform an operation.

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

Constructor Summary
DataFormatException(java.lang.String message)
          Constructs the exception with the given error message.
DataFormatException(java.lang.String message, org.apache.log4j.Logger logger)
          Constructs the exception with the given error message and logs it to the given logger.
DataFormatException(java.lang.String message, java.lang.Throwable exception)
          Constructs the exception with the given error message and the given inner exception.
DataFormatException(java.lang.String message, java.lang.Throwable exception, org.apache.log4j.Logger logger)
          Constructs the exception with the given error message and the given inner exception and logs it to the given logger.
 
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

DataFormatException

public DataFormatException(java.lang.String message)
Constructs the exception with the given error message.

Parameters:
message - description of the error
Throws:
java.lang.IllegalArgumentException - If the argument is null

DataFormatException

public DataFormatException(java.lang.String message,
                           java.lang.Throwable exception)
Constructs the exception with the given error message and the given inner exception.

Parameters:
message - description of the error
exception - inner exception
Throws:
java.lang.IllegalArgumentException - If any of the arguments are null

DataFormatException

public DataFormatException(java.lang.String message,
                           org.apache.log4j.Logger logger)
Constructs the exception with the given error message and logs it to the given logger.

Parameters:
message - description of the error
logger - logger at which to log the creation of this exception
Throws:
java.lang.IllegalArgumentException - If any of the arguments are null

DataFormatException

public DataFormatException(java.lang.String message,
                           java.lang.Throwable exception,
                           org.apache.log4j.Logger logger)
Constructs the exception with the given error message and the given inner exception and logs it to the given logger.

Parameters:
message - description of the error
exception - inner exception
logger - Logger at which to log the creation of this exception.
Throws:
java.lang.IllegalArgumentException - If any of the arguments are null.