[Java] Class ExceptionMessage
- org.codehaus.groovy.control.messages.ExceptionMessage
public class ExceptionMessage extends Message
A class for error messages produced by the parser system.
Field Summary
Modifiers | Name | Description |
---|---|---|
protected boolean | debug | |
protected ProcessingUnit | owner | |
protected boolean | verbose | not used |
Constructor Summary
Constructor and description |
---|
ExceptionMessage
(Exception cause, boolean debug, ProcessingUnit owner) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Exception |
getCause() Returns the underlying Exception. | |
public void |
write(PrintWriter output, Janitor janitor) Writes out a nicely formatted summary of the exception. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Message | create, create, create, write, write |
Field Detail
protected final boolean debug
protected final ProcessingUnit owner
@Deprecated protected boolean verbose
not used
Constructor Detail
public ExceptionMessage(Exception cause, boolean debug, ProcessingUnit owner)
Method Detail
public Exception getCause()
Returns the underlying Exception.
public void write(PrintWriter output, Janitor janitor)
Writes out a nicely formatted summary of the exception.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/messages/ExceptionMessage.html