A class for error messages produced by the parser system.
| Modifiers | Name | Description | 
|---|---|---|
protected SyntaxException  | 
                            cause | 
                            |
protected org.codehaus.groovy.control.SourceUnit  | 
                            source | 
                            
| Constructor and description | 
|---|
                                SyntaxErrorMessage
                                (SyntaxException cause, org.codehaus.groovy.control.SourceUnit source) | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            SyntaxException | 
                            getCause()Returns the underlying SyntaxException.  | 
                        
 | 
                            void | 
                            write(PrintWriter output, Janitor janitor)Writes out a nicely formatted summary of the syntax error.  | 
                        
Returns the underlying SyntaxException.
Writes out a nicely formatted summary of the syntax error.
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.