org.codehaus.groovy.control.messages
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.
- Version:
- $Id: SyntaxErrorMessage.java,v 1.2 2004/12/07 21:53:00 spullara Exp $
- Author:
- Chris Poirier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cause
protected SyntaxException cause
SyntaxErrorMessage
public SyntaxErrorMessage(SyntaxException cause)
getCause
public SyntaxException getCause()
- Returns the underlying SyntaxException.
write
public void write(PrintWriter output,
ProcessingUnit context,
Janitor janitor)
- Writes out a nicely formatted summary of the syntax error.
- Specified by:
write
in class Message
Copyright © 2003-2005 The Codehaus. All Rights Reserved.