| java.lang.Object org.apache.cocoon.components.language.programming.CompilerError
CompilerError | public class CompilerError (Code) | | This class encapsulates an error message produced by a programming language
processor (whether interpreted or compiled)
author: Stefano Mazzocchi version: CVS $Id: CompilerError.java 433543 2006-08-22 06:22:54Z crossley $ since: 2.0 |
Constructor Summary | |
public | CompilerError(String file, boolean error, int startline, int startcolumn, int endline, int endcolumn, String message) The error message constructor. | public | CompilerError(String message) The error message constructor. |
CompilerError | public CompilerError(String file, boolean error, int startline, int startcolumn, int endline, int endcolumn, String message)(Code) | | The error message constructor.
Parameters: file - The name of the file containing the offending program text Parameters: error - The actual error text produced by the language processor Parameters: startline - The start line number of the offending program text Parameters: startcolumn - The start column number of the offending program text Parameters: endline - The end line number of the offending program text Parameters: endcolumn - The end column number of the offending program text Parameters: message - The actual error text produced by the language processor |
CompilerError | public CompilerError(String message)(Code) | | The error message constructor.
Parameters: message - The actual error text produced by the language processor |
getEndColumn | public int getEndColumn()(Code) | | Return the ending column number of the program text originating this
error
The ending column number of the program text originating thiserror |
getEndLine | public int getEndLine()(Code) | | Return the ending line number of the program text originating this error
The ending line number of the program text originating this error |
getFile | public String getFile()(Code) | | Return the filename associated with this compiler error.
The filename associated with this compiler error |
getMessage | public String getMessage()(Code) | | Return the message produced by the language processor
The message produced by the language processor |
getStartColumn | public int getStartColumn()(Code) | | Return the starting column number of the program text originating this
error
The starting column number of the program text originating thiserror |
getStartLine | public int getStartLine()(Code) | | Return the starting line number of the program text originating this error
The starting line number of the program text originating this error |
isError | public boolean isError()(Code) | | Assert whether this is a severe error or a warning
Whether the error is severe |
|
|