uk.org.ogsadai.exception
Class DAIProjectionException

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

public class DAIProjectionException
extends DAIException

Exception thrown while thying to project from WebRowSet or CSV input and the column name or column index does not exist.

Associated with error codes: uk.org.ogsadai.INVALID_COLUMN_NAME and uk.org.ogsadai.INVALID_COLUMN_NAME.

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
DAIProjectionException(java.lang.String inputType, int index)
          Constructor.
DAIProjectionException(java.lang.String inputType, java.lang.String value)
          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

DAIProjectionException

public DAIProjectionException(java.lang.String inputType,
                              java.lang.String value)
Constructor.

Parameters:
inputType - Type of entity which is being projected e.g. WebRowSet or CSV.
value - The column name that caused the exception

DAIProjectionException

public DAIProjectionException(java.lang.String inputType,
                              int index)
Constructor.

Parameters:
inputType - Type of entity which is being projected e.g. WebRowSet or CSV.
index - The column index that caused the exception