uk.org.ogsadai.activity.sql.parameters
Class ParameterAccessException

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

public class ParameterAccessException
extends DAIException

Exception thrown when a problem arises when accessing the value of a parameter in a parameterised SQL statement.

Associated with error ID: uk.org.ogsadai.SQL_PARAMETER_ACCESS_ERROR.

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

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement.
private  int mPosition
          Position of missing parameter
 
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
ParameterAccessException(int position, java.lang.Throwable cause)
          Constructor
 
Method Summary
 int getPosition()
          Gets the position of the parameter.
 
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

mPosition

private int mPosition
Position of missing parameter

Constructor Detail

ParameterAccessException

public ParameterAccessException(int position,
                                java.lang.Throwable cause)
Constructor

Parameters:
position - Position of missing parameter
cause - Cause of the problem
Method Detail

getPosition

public int getPosition()
Gets the position of the parameter.

Returns:
position