|
edtFTPj | |||||||||
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.io.IOException
com.enterprisedt.BaseIOException
public class BaseIOException
Extension of java.io.IOException which adds "cause" functionality. This replicates the behaviour that is already present in JDK 1.4 or better.
Constructor Summary | |
---|---|
BaseIOException()
Creates a BaseIOException with no message or cause. |
|
BaseIOException(String message)
Creates a BaseIOException with the given message. |
|
BaseIOException(String message,
Throwable cause)
Creates a BaseIOException with the given cause. |
|
BaseIOException(Throwable cause)
Creates a BaseIOException with the given cause. |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the cause of this exception. |
Throwable |
getInnerThrowable()
Returns the cause of this exception (same as getCause). |
Throwable |
initCause(Throwable cause)
Initializes the cause. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, 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 BaseIOException()
public BaseIOException(String message)
message
- Exception messagepublic BaseIOException(Throwable cause)
cause
- Throwable which caused this exception to be thrown.public BaseIOException(String message, Throwable cause)
message
- Exception messagecause
- Throwable which caused this exception to be thrown.Method Detail |
---|
public Throwable getCause()
getCause
in class Throwable
public Throwable getInnerThrowable()
public Throwable initCause(Throwable cause)
initCause
in class Throwable
cause
- Throwable which caused this exception to be thrown.
|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |