|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.components.compiler.CompilerError
This class encapsulates an error message produced by a programming language processor (whether interpreted or compiled)
Constructor Summary | |
CompilerError(java.lang.String message)
The error message constructor. |
|
CompilerError(java.lang.String file,
boolean error,
int startline,
int startcolumn,
int endline,
int endcolumn,
java.lang.String message)
The error message constructor. |
Method Summary | |
int |
getEndColumn()
Return the ending column number of the program text originating this error |
int |
getEndLine()
Return the ending line number of the program text originating this error |
java.lang.String |
getFile()
Return the filename associated with this compiler error. |
java.lang.String |
getMessage()
Return the message produced by the language processor |
int |
getStartColumn()
Return the starting column number of the program text originating this error |
int |
getStartLine()
Return the starting line number of the program text originating this error |
boolean |
isError()
Assert whether this is a severe error or a warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompilerError(java.lang.String file, boolean error, int startline, int startcolumn, int endline, int endcolumn, java.lang.String message)
file
- The name of the file containing the offending program texterror
- The actual error text produced by the language processorstartline
- The start line number of the offending program textstartcolumn
- The start column number of the offending program textendline
- The end line number of the offending program textendcolumn
- The end column number of the offending program textmessage
- The actual error text produced by the language processorpublic CompilerError(java.lang.String message)
message
- The actual error text produced by the language processorMethod Detail |
public java.lang.String getFile()
public boolean isError()
public int getStartLine()
public int getStartColumn()
public int getEndLine()
public int getEndColumn()
public java.lang.String getMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |