com.ibm.pdq.runtime.exception

Class GenerationException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended byjava.lang.RuntimeException
  5. extended bycom.ibm.pdq.runtime.exception.DataRuntimeException
  6. extended bycom.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

Modifier and Type Method and Description
  1. int
getColumnNumber()
Returns the starting column of the annotated method declaration whose processing caused the exception.
  1. int
getLength()
Returns the length of the annotated method declaration whose processing caused the exception.
  1. int
getLineNumber()
Returns the starting line number of the annotated method declaration whose processing caused the exception.
  1. int
getStartPosition()
Returns the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception.
  1. void
setColumnNumber(int columnNumber)
Sets the value of columnNumber as the starting column of the annotated method declaration whose processing caused the exception.
  1. void
setLength(int length)
Sets the value of length as the length of the annotated method declaration whose processing caused the exception.
  1. void
setLineNumber(int lineNumber)
Sets the value of lineNumber as the starting line number of the annotated method declaration whose processing caused the exception.
  1. 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, getErrorCode, getErrorType, getExceptionLocation, getMessage, getNextException, getProductVersion, getSQLState, isTransient
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