|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.sling.commons.compiler.CompilerMessage
public class CompilerMessage
This class encapsulates a message produced the compiler.
A message is either a warning or an error.
The messages are retrieved from the CompilationResult.
| Constructor Summary | |
|---|---|
CompilerMessage(java.lang.String file,
int line,
int column,
java.lang.String message)
The error message constructor. |
|
| Method Summary | |
|---|---|
int |
getColumn()
Return the column number of the program text originating this message |
java.lang.String |
getFile()
Return the filename associated with this compiler message. |
int |
getLine()
Return the line number of the program text originating this message |
java.lang.String |
getMessage()
Return the message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompilerMessage(java.lang.String file,
int line,
int column,
java.lang.String message)
file - The name of the file containing the offending program textline - The line number of the offending program textcolumn - The column number of the offending program textmessage - The actual text| Method Detail |
|---|
public java.lang.String getFile()
public int getLine()
public int getColumn()
public java.lang.String getMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||