org.apache.commons.fileupload
Class FileUploadBase.IOFileUploadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileUploadBase.IOFileUploadException
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- FileUploadBase
public static class FileUploadBase.IOFileUploadException
- extends FileUploadException
Thrown to indicate an IOException.
- See Also:
- Serialized Form
Field Summary |
private java.io.IOException |
cause
The exceptions cause; we overwrite the parent
classes field, which is available since Java
1.4 only. |
private static long |
serialVersionUID
The exceptions UID, for serializing an instance. |
Method Summary |
java.lang.Throwable |
getCause()
Returns the exceptions cause. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- The exceptions UID, for serializing an instance.
- See Also:
- Constant Field Values
cause
private final java.io.IOException cause
- The exceptions cause; we overwrite the parent
classes field, which is available since Java
1.4 only.
FileUploadBase.IOFileUploadException
public FileUploadBase.IOFileUploadException(java.lang.String pMsg,
java.io.IOException pException)
- Creates a new instance with the given cause.
- Parameters:
pMsg
- The detail message.pException
- The exceptions cause.
getCause
public java.lang.Throwable getCause()
- Returns the exceptions cause.
- Overrides:
getCause
in class FileUploadException
- Returns:
- The exceptions cause, if any, or null.