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

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

public class DataFormatException
extends DAIException

Data is not in an expected format and a problem was encountered when parsing it.

Associated with error code: uk.org.ogsadai.CTK_DATA_FORMAT_ERROR, uk.org.ogsadai.CTK_DATA_FORMAT_ACTUAL_ERROR_ and uk.org.ogsadai.CTK_DATA_FORMAT_EXPECTED_ERROR_.

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

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DataFormatException(java.lang.String actual)
          Constructor.
DataFormatException(java.lang.String expected, java.lang.String actual)
          Constructor.
DataFormatException(java.lang.String expected, java.lang.String actual, java.lang.Throwable cause)
          Constructor.
DataFormatException(java.lang.String actual, java.lang.Throwable cause)
          Constructor.
DataFormatException(java.lang.Throwable cause)
          Constructor.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values
Constructor Detail

DataFormatException

public DataFormatException(java.lang.Throwable cause)
Constructor.

Parameters:
cause - Cause of problem.

DataFormatException

public DataFormatException(java.lang.String actual)
Constructor.

Parameters:
actual - Actual type or value.

DataFormatException

public DataFormatException(java.lang.String actual,
                           java.lang.Throwable cause)
Constructor.

Parameters:
actual - Actual type or value.
cause - Cause of problem.

DataFormatException

public DataFormatException(java.lang.String expected,
                           java.lang.String actual)
Constructor.

Parameters:
expected - Expected type or value.
actual - Actual type or value.

DataFormatException

public DataFormatException(java.lang.String expected,
                           java.lang.String actual,
                           java.lang.Throwable cause)
Constructor.

Parameters:
expected - Expected type or value.
actual - Actual type or value.
cause - Cause of problem.