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: ExceptionMessage.java,v 1.3 2005/01/26 19:09:05 jstrachan Exp $
- Author:
- Chris Poirier
Field Summary |
private java.lang.Exception |
cause
|
protected static boolean |
verbose
|
Method Summary |
java.lang.Exception |
getCause()
Returns the underlying Exception. |
void |
write(java.io.PrintWriter output,
ProcessingUnit context,
Janitor janitor)
Writes out a nicely formatted summary of the exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verbose
protected static final boolean verbose
- See Also:
- Constant Field Values
cause
private java.lang.Exception cause
ExceptionMessage
public ExceptionMessage(java.lang.Exception cause)
getCause
public java.lang.Exception getCause()
- Returns the underlying Exception.
write
public void write(java.io.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.