Top Description Fields Constructors Methods
org.codehaus.groovy.control.messages

public Class ExceptionMessage

extends Message
Class Inheritance
Imports
org.codehaus.groovy.control.Janitor, .ProcessingUnit, java.io.PrintWriter, java.util.Objects

A class for error messages produced by the parser system.

Field Summary

Modifier and TypeField and Description
private final Exception
protected final boolean
protected final ProcessingUnit
protected boolean
verbose

not used

Constructor Summary

AccessConstructor and Description
public
ExceptionMessage(final Exception cause, final boolean debug, final ProcessingUnit owner)

Method Summary

Modifier and TypeMethod and Description
public Exception
getCause()

Returns the underlying Exception.

public void
write(final PrintWriter output, final Janitor janitor)

Implements abstract org.codehaus.groovy.control.messages.Message.write.

Writes out a nicely formatted summary of the exception.
Inherited from org.codehaus.groovy.control.messages.Message:
createcreatecreatewrite

Field Detail

causeback to summary
private final Exception cause
debugback to summary
protected final boolean debug
ownerback to summary
protected final ProcessingUnit owner
verboseback to summary
protected boolean verbose

Deprecated

not used

Annotations
@Deprecated

Constructor Detail

ExceptionMessageback to summary
public ExceptionMessage(final Exception cause, final boolean debug, final ProcessingUnit owner)

Method Detail

getCauseback to summary
public Exception getCause()

Returns the underlying Exception.

writeback to summary
public void write(final PrintWriter output, final Janitor janitor)

Implements abstract org.codehaus.groovy.control.messages.Message.write.

Writes out a nicely formatted summary of the exception.