org.apache.commons.fileupload
Class FileUploadBase.IOFileUploadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.fileupload.FileUploadException
              extended by 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.
 
Constructor Summary
FileUploadBase.IOFileUploadException(java.lang.String pMsg, java.io.IOException pException)
          Creates a new instance with the given cause.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the exceptions cause.
 
Methods inherited from class org.apache.commons.fileupload.FileUploadException
printStackTrace, printStackTrace
 
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
 

Field Detail

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.

Constructor Detail

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.
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the exceptions cause.

Overrides:
getCause in class FileUploadException
Returns:
The exceptions cause, if any, or null.