|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jci.compilers.JaninoCompilationProblem
public final class JaninoCompilationProblem
Janino version of a CompilationProblem
Constructor Summary | |
---|---|
JaninoCompilationProblem(org.codehaus.janino.Location pLocation,
java.lang.String pMessage,
boolean pError)
|
|
JaninoCompilationProblem(org.codehaus.janino.Parser.ParseException pParseException)
|
|
JaninoCompilationProblem(org.codehaus.janino.Scanner.ScanException pScanException)
|
|
JaninoCompilationProblem(java.lang.String pFilename,
org.codehaus.janino.Location pLocation,
java.lang.String pMessage,
boolean pError)
|
|
JaninoCompilationProblem(java.lang.String pFilename,
java.lang.String pMessage,
boolean pError)
|
Method Summary | |
---|---|
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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JaninoCompilationProblem(org.codehaus.janino.Parser.ParseException pParseException)
public JaninoCompilationProblem(org.codehaus.janino.Scanner.ScanException pScanException)
public JaninoCompilationProblem(org.codehaus.janino.Location pLocation, java.lang.String pMessage, boolean pError)
public JaninoCompilationProblem(java.lang.String pFilename, java.lang.String pMessage, boolean pError)
public JaninoCompilationProblem(java.lang.String pFilename, org.codehaus.janino.Location pLocation, java.lang.String pMessage, boolean pError)
Method Detail |
---|
public boolean isError()
CompilationProblem
isError
in interface CompilationProblem
public java.lang.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 java.lang.String getMessage()
CompilationProblem
getMessage
in interface CompilationProblem
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |