Package org.codehaus.groovy.syntax
Class ReadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
org.codehaus.groovy.syntax.ReadException
- All Implemented Interfaces:
java.io.Serializable,GroovyExceptionInterface
public class ReadException extends GroovyException
Encapsulates non-specific i/o exceptions.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ReadException(java.io.IOException cause)ReadException(java.lang.String message, java.io.IOException cause) -
Method Summary
Modifier and Type Method Description java.io.IOExceptiongetIOCause()java.lang.StringgetMessage()java.lang.StringtoString()Methods inherited from class org.codehaus.groovy.GroovyException
isFatal, setFatalMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ReadException
public ReadException(java.io.IOException cause) -
ReadException
public ReadException(java.lang.String message, java.io.IOException cause)
-
-
Method Details
-
getIOCause
public java.io.IOException getIOCause() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()- Overrides:
getMessagein classjava.lang.Throwable
-