com.ibm.pdq.runtime.exception
Class GenerationException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.pdq.runtime.exception.DataRuntimeException
com.ibm.pdq.runtime.exception.GenerationException
All implemented interfaces:
public class GenerationException extends DataRuntimeExceptionIndicates the occurrence of an exception in the pureQuery code while generating implementations for classes with annotated methods.
See Also:
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getColumnNumber()
Returns the starting column of the annotated method declaration whose processing caused the exception.
|
|
getLength()
Returns the length of the annotated method declaration whose processing caused the exception.
|
|
getLineNumber()
Returns the starting line number of the annotated method declaration whose processing caused the exception.
|
|
getStartPosition()
Returns the starting position (in characters from the start of the file) of the annotated method declaration whose
processing caused the exception.
|
|
setColumnNumber(int columnNumber)
Sets the value of
columnNumber as the starting column of the annotated method declaration whose
processing caused the exception.
|
|
setLength(int length)
Sets the value of
length as the length of the annotated method declaration whose processing caused
the exception.
|
|
setLineNumber(int lineNumber)
Sets the value of
lineNumber as the starting line number of the annotated method declaration whose
processing caused the exception.
|
|
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