org.codehaus.groovy.control.messages
Class ExceptionMessage

java.lang.Object
  extended byorg.codehaus.groovy.control.messages.Message
      extended byorg.codehaus.groovy.control.messages.ExceptionMessage

public class ExceptionMessage
extends Message

A class for error messages produced by the parser system.

Version:
$Id: ExceptionMessage.java,v 1.3 2005/01/26 19:09:05 jstrachan Exp $
Author:
Chris Poirier

Field Summary
protected static boolean verbose
           
 
Constructor Summary
ExceptionMessage(Exception cause)
           
 
Method Summary
 Exception getCause()
          Returns the underlying Exception.
 void write(PrintWriter output, ProcessingUnit context, Janitor janitor)
          Writes out a nicely formatted summary of the exception.
 
Methods inherited from class org.codehaus.groovy.control.messages.Message
create, create, create, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbose

protected static final boolean verbose
See Also:
Constant Field Values
Constructor Detail

ExceptionMessage

public ExceptionMessage(Exception cause)
Method Detail

getCause

public Exception getCause()
Returns the underlying Exception.


write

public void write(PrintWriter output,
                  ProcessingUnit context,
                  Janitor janitor)
Writes out a nicely formatted summary of the exception.

Specified by:
write in class Message


Copyright © 2003-2005 The Codehaus. All Rights Reserved.