org.codehaus.groovy.syntax
Class ReadException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.groovy.GroovyException
              extended byorg.codehaus.groovy.syntax.ReadException
All Implemented Interfaces:
GroovyExceptionInterface, java.io.Serializable

public class ReadException
extends GroovyException

Encapsulates non-specific i/o exceptions.

See Also:
Serialized Form

Field Summary
private  java.io.IOException cause
           
 
Fields inherited from class org.codehaus.groovy.GroovyException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ReadException(java.io.IOException cause)
           
ReadException(java.lang.String message, java.io.IOException cause)
           
 
Method Summary
 java.io.IOException getIOCause()
           
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class org.codehaus.groovy.GroovyException
isFatal, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

private java.io.IOException cause
Constructor Detail

ReadException

public ReadException(java.io.IOException cause)

ReadException

public ReadException(java.lang.String message,
                     java.io.IOException cause)
Method Detail

getIOCause

public java.io.IOException getIOCause()

toString

public java.lang.String toString()

getMessage

public java.lang.String getMessage()


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