org.codehaus.groovy.control.messages
Class ExceptionMessage
java.lang.Object
org.codehaus.groovy.control.messages.Message
org.codehaus.groovy.control.messages.ExceptionMessage
public class ExceptionMessage
- extends Message
A class for error messages produced by the parser system.
- Version:
- $Id$
- Author:
- Chris Poirier
Field Summary |
protected boolean |
verbose
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verbose
protected boolean verbose
ExceptionMessage
public ExceptionMessage(Exception cause,
boolean v,
ProcessingUnit owner)
getCause
public Exception getCause()
- Returns the underlying Exception.
write
public void write(PrintWriter output,
Janitor janitor)
- Writes out a nicely formatted summary of the exception.
- Specified by:
write
in class Message