org.teatrove.tea.compiler
Class ErrorEvent
java.lang.Object
java.util.EventObject
org.teatrove.tea.compiler.ErrorEvent
- All Implemented Interfaces:
- Serializable
public class ErrorEvent
- extends EventObject
- Author:
- Brian S O'Neill
- See Also:
- Serialized Form
getErrorMessage
public String getErrorMessage()
getDetailedErrorMessage
public String getDetailedErrorMessage()
- Returns the error message prepended with source file information.
getSourceInfoMessage
public String getSourceInfoMessage()
getSourceInfo
public SourceInfo getSourceInfo()
- This method reports on where in the source code an error was found.
- Returns:
- Source information on this error or null if not known.
getCulpritToken
public Token getCulpritToken()
- Returns:
- Null if there was no offending token
getCompilationUnit
public CompilationUnit getCompilationUnit()
- Returns:
- Null if there was no CompilationUnit
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.