public final class RhinoCompilationProblem extends java.lang.Object implements CompilationProblem
| Constructor and Description |
|---|
RhinoCompilationProblem(java.lang.String pMessage,
java.lang.String pFileName,
int pLine,
java.lang.String pScript,
int pColumn,
boolean pError) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEndColumn() |
int |
getEndLine()
position of where the problem stops in the source code
|
java.lang.String |
getFileName()
name of the file where the problem occurred
|
java.lang.String |
getMessage()
the description of the problem
|
int |
getStartColumn() |
int |
getStartLine()
position of where the problem starts in the source code
|
boolean |
isError()
is the problem an error and compilation cannot continue
or just a warning and compilation can proceed
|
public RhinoCompilationProblem(java.lang.String pMessage,
java.lang.String pFileName,
int pLine,
java.lang.String pScript,
int pColumn,
boolean pError)
public int getEndColumn()
getEndColumn in interface CompilationProblempublic int getEndLine()
CompilationProblemgetEndLine in interface CompilationProblempublic java.lang.String getFileName()
CompilationProblemgetFileName in interface CompilationProblempublic java.lang.String getMessage()
CompilationProblemgetMessage in interface CompilationProblempublic int getStartColumn()
getStartColumn in interface CompilationProblempublic int getStartLine()
CompilationProblemgetStartLine in interface CompilationProblempublic boolean isError()
CompilationProblemisError in interface CompilationProblem