public final class JaninoCompilationProblem extends Object implements CompilationProblem
| Constructor and Description |
|---|
JaninoCompilationProblem(org.codehaus.janino.util.LocatedException pLocatedException) |
JaninoCompilationProblem(org.codehaus.janino.Location pLocation,
String pMessage,
boolean pError) |
JaninoCompilationProblem(String pFilename,
org.codehaus.janino.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.janino.util.LocatedException pLocatedException)
public JaninoCompilationProblem(org.codehaus.janino.Location pLocation,
String pMessage,
boolean pError)
public JaninoCompilationProblem(String pFilename, String pMessage, boolean pError)
public boolean isError()
CompilationProblemisError in interface CompilationProblempublic String getFileName()
CompilationProblemgetFileName in interface CompilationProblempublic int getStartLine()
CompilationProblemgetStartLine in interface CompilationProblempublic int getStartColumn()
getStartColumn in interface CompilationProblempublic int getEndLine()
CompilationProblemgetEndLine in interface CompilationProblempublic int getEndColumn()
getEndColumn in interface CompilationProblempublic String getMessage()
CompilationProblemgetMessage in interface CompilationProblemCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.