public final class JaninoCompilationProblem extends Object implements CompilationProblem
Constructor and Description |
---|
JaninoCompilationProblem(org.codehaus.commons.compiler.LocatedException pLocatedException) |
JaninoCompilationProblem(org.codehaus.commons.compiler.Location pLocation,
String pMessage,
boolean pError) |
JaninoCompilationProblem(String pFilename,
org.codehaus.commons.compiler.Location pLocation,
String pMessage,
boolean pError) |
JaninoCompilationProblem(String pFilename,
String pMessage,
boolean pError) |
Modifier and Type | Method and Description |
---|---|
int |
getEndColumn() |
int |
getEndLine()
position of where the problem stops in the source code
|
String |
getFileName()
name of the file where the problem occurred
|
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
|
String |
toString() |
public JaninoCompilationProblem(org.codehaus.commons.compiler.LocatedException pLocatedException)
public JaninoCompilationProblem(org.codehaus.commons.compiler.Location pLocation, String pMessage, boolean pError)
public JaninoCompilationProblem(String pFilename, String pMessage, boolean pError)
public boolean isError()
CompilationProblem
isError
in interface CompilationProblem
public String getFileName()
CompilationProblem
getFileName
in interface CompilationProblem
public int getStartLine()
CompilationProblem
getStartLine
in interface CompilationProblem
public int getStartColumn()
getStartColumn
in interface CompilationProblem
public int getEndLine()
CompilationProblem
getEndLine
in interface CompilationProblem
public int getEndColumn()
getEndColumn
in interface CompilationProblem
public String getMessage()
CompilationProblem
getMessage
in interface CompilationProblem
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.