com.ibm.pdq.runtime.exception
Class GenerationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.pdq.runtime.exception.DataRuntimeException
                  extended by com.ibm.pdq.runtime.exception.GenerationException
All Implemented Interfaces:
Serializable

public class GenerationException
extends DataRuntimeException

Indicates the occurrence of an exception in the pureQuery code while generating implementations for classes with annotated methods.

See Also:
Serialized Form

Method Summary

Method Summary
Return Data TypeMethod Name and Description
int getColumnNumber()
Returns the starting column of the annotated method declaration whose processing caused the exception.
int getLength()
Returns the length of the annotated method declaration whose processing caused the exception.
int getLineNumber()
Returns the starting line number of the annotated method declaration whose processing caused the exception.
int getStartPosition()
Returns the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception.
void setColumnNumber(int columnNumber)
Sets the value of columnNumber as the starting column of the annotated method declaration whose processing caused the exception.
void setLength(int length)
Sets the value of length as the length of the annotated method declaration whose processing caused the exception.
void setLineNumber(int lineNumber)
Sets the value of lineNumber as the starting line number of the annotated method declaration whose processing caused the exception.
void setStartPosition(int startPosition)
Sets the value of startPosition as the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception.

Methods inherited from class com.ibm.pdq.runtime.exception.DataRuntimeException
addLastException, getExceptionLocation, getMessage, getNextException, getProductVersion

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Detail

getColumnNumber

public int getColumnNumber()
Returns the starting column of the annotated method declaration whose processing caused the exception.
Returns:
the starting column of the annotated method declaration whose processing caused the exception

getLength

public int getLength()
Returns the length of the annotated method declaration whose processing caused the exception.
Returns:
the length of the annotated method declaration whose processing caused the exception

getLineNumber

public int getLineNumber()
Returns the starting line number of the annotated method declaration whose processing caused the exception.
Returns:
the starting line number of the annotated method declaration whose processing caused the exception

getStartPosition

public int getStartPosition()
Returns the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception.
Returns:
the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception

setColumnNumber

public void setColumnNumber(int columnNumber)
Sets the value of columnNumber as the starting column of the annotated method declaration whose processing caused the exception.
Parameters:
columnNumber - the int to set as the starting column of the annotated method declaration whose processing caused the exception

setLength

public void setLength(int length)
Sets the value of length as the length of the annotated method declaration whose processing caused the exception.
Parameters:
length - the int to set as the length of the annotated method declaration whose processing caused the exception

setLineNumber

public void setLineNumber(int lineNumber)
Sets the value of lineNumber as the starting line number of the annotated method declaration whose processing caused the exception.
Parameters:
lineNumber - the int to set as the starting line number of the annotated method declaration whose processing caused the exception

setStartPosition

public void setStartPosition(int startPosition)
Sets the value of startPosition as the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception.
Parameters:
startPosition - the int to set as the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception