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.
- 
- 
Field SummaryFields Modifier and Type Field Description protected SyntaxExceptioncauseprotected SourceUnitsource
 - 
Constructor SummaryConstructors Constructor Description SyntaxErrorMessage(SyntaxException cause, SourceUnit source)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SyntaxExceptiongetCause()Returns the underlying SyntaxException.voidwrite(java.io.PrintWriter output, Janitor janitor)Writes out a nicely formatted summary of the syntax error.
 
- 
- 
- 
Field Detail- 
causeprotected SyntaxException cause 
 - 
sourceprotected SourceUnit source 
 
- 
 - 
Constructor Detail- 
SyntaxErrorMessagepublic SyntaxErrorMessage(SyntaxException cause, SourceUnit source) 
 
- 
 - 
Method Detail- 
getCausepublic SyntaxException getCause() Returns the underlying SyntaxException.
 
- 
 
-