Top Description Fields Constructors Methods
org.codehaus.groovy.syntax

public Class ReadException

extends GroovyException
Class Inheritance
Imports
org.codehaus.groovy.GroovyException, java.io.IOException

Encapsulates non-specific i/o exceptions.

Field Summary

Modifier and TypeField and Description
private final IOException
private static final long

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public IOException
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.
public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.
Inherited from org.codehaus.groovy.GroovyException:
isFatalsetFatal

Field Detail

causeback to summary
private final IOException cause

Hides java.lang.Throwable.cause.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.codehaus.groovy.GroovyException.serialVersionUID.

Constructor Detail

ReadExceptionback to summary
public ReadException(IOException cause)
ReadExceptionback to summary
public ReadException(String message, IOException cause)

Method Detail

getIOCauseback to summary
public IOException getIOCause()
getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:String

a string representation of this throwable.