org.codehaus.groovy.control.messages
[Java] Class SyntaxErrorMessage
java.lang.Object
org.codehaus.groovy.control.messages.Message
org.codehaus.groovy.control.messages.SyntaxErrorMessage
public class SyntaxErrorMessage
extends Message
A class for error messages produced by the parser system.
- Authors:
- Chris Poirier
- Version:
- \$Id\$
cause
protected SyntaxException cause
-
source
protected SourceUnit source
-
SyntaxErrorMessage
public SyntaxErrorMessage(SyntaxException cause, SourceUnit source)
-
getCause
public SyntaxException getCause()
- Returns the underlying SyntaxException.
write
public void write(PrintWriter output, Janitor janitor)
- Writes out a nicely formatted summary of the syntax error.
Copyright © 2003-2013 The Codehaus. All rights reserved.