|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.fudgemsg.FudgeRuntimeException
org.fudgemsg.FudgeRuntimeIOException
public class FudgeRuntimeIOException
A Fudge-specific IO exception to wrap the checked IOException
.
Fudge will never throw a checked exception. Wherever possible, IO exceptions will be wrapped in this exception.
Constructor Summary | |
---|---|
FudgeRuntimeIOException(IOException cause)
Creates a wrapper for the checked IOException . |
|
FudgeRuntimeIOException(String message,
IOException cause)
Creates a wrapper for the checked IOException with an overridden message. |
Method Summary | |
---|---|
IOException |
getCause()
Gets the underlying IOException wrapped by this runtime exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FudgeRuntimeIOException(IOException cause)
IOException
.
cause
- the underlying exception, should not be nullpublic FudgeRuntimeIOException(String message, IOException cause)
IOException
with an overridden message.
message
- the description of the error condition, may be nullcause
- the underlying exception, should not be nullMethod Detail |
---|
public IOException getCause()
IOException
wrapped by this runtime exception.
getCause
in class Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |