public class FormulaCompilationException extends DominoException
DominoException that is thrown when formula compilation fails
and that provides details about the error| Constructor and Description |
|---|
FormulaCompilationException(int id,
String msg,
String formula,
String compileErrorReason,
short compileErrorStatus,
short compileErrorLine,
short compileErrorColumn,
short compileErrorOffset,
short compileErrorLength)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCompileErrorColumn()
Returns the column number where the error occurred
|
int |
getCompileErrorLength()
Returns the lengths of the error (probably the length of the error producing code)
|
int |
getCompileErrorLine()
Returns the line where the error occurred
|
int |
getCompileErrorOffset()
Returns the offset where the error occurred
|
String |
getCompileErrorReason()
Returns the detail info what is wrong in the formula
|
int |
getCompileErrorReasonCode()
Returns a numeric error code for the compile error
|
String |
getFormula()
Returns the formula that raised the error
|
getIdaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FormulaCompilationException(int id,
String msg,
String formula,
String compileErrorReason,
short compileErrorStatus,
short compileErrorLine,
short compileErrorColumn,
short compileErrorOffset,
short compileErrorLength)
id - error code for formula compilation, e.g. ERR_FORMULA_COMPILATION (1281)msg - error message for formula compilation, e.g. "Formula Error"formula - formula for which compilation failedcompileErrorReason - detail error describing what is wrong in the formulacompileErrorStatus - compile error reason status codecompileErrorLine - line numbercompileErrorColumn - column numbercompileErrorOffset - offsetcompileErrorLength - length of errorpublic String getFormula()
public String getCompileErrorReason()
public int getCompileErrorReasonCode()
public int getCompileErrorLine()
public int getCompileErrorColumn()
public int getCompileErrorOffset()
public int getCompileErrorLength()
Copyright © 2019–2021 HCL. All rights reserved.