|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.pdq.runtime.exception.DataRuntimeException
com.ibm.pdq.runtime.exception.GenerationException
public class GenerationException extends DataRuntimeException
Indicates the occurrence of an exception in the pureQuery code while generating implementations for classes with annotated methods.
Modifier and Type | Method 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, 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 |
public int getColumnNumber()
public int getLength()
public int getLineNumber()
public int getStartPosition()
public void setColumnNumber(int columnNumber)
columnNumber
as the starting column of the annotated method declaration whose processing caused the exception.columnNumber
- the int
to set as the starting column of the annotated method declaration whose processing caused the exceptionpublic void setLength(int length)
length
as the length of the annotated method declaration whose processing caused the exception.length
- the int
to set as the length of the annotated method declaration whose processing caused the exceptionpublic void setLineNumber(int lineNumber)
lineNumber
as the starting line number of the annotated method declaration whose processing caused the exception.lineNumber
- the int
to set as the starting line number of the annotated method declaration whose processing caused the exceptionpublic void setStartPosition(int startPosition)
startPosition
as the starting position (in characters from the start of the file) of the annotated method declaration whose processing caused the exception.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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |