org.apache.commons.fileupload
Class FileUploadBase.FileUploadIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.commons.fileupload.FileUploadBase.FileUploadIOException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FileUploadBase

public static class FileUploadBase.FileUploadIOException
extends java.io.IOException

This exception is thrown for hiding an inner FileUploadException in an IOException.

See Also:
Serialized Form

Field Summary
private  FileUploadException 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.FileUploadIOException(FileUploadException pCause)
          Creates a FileUploadIOException with the given cause.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the exceptions cause.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The exceptions UID, for serializing an instance.

See Also:
Constant Field Values

cause

private final FileUploadException cause
The exceptions cause; we overwrite the parent classes field, which is available since Java 1.4 only.

Constructor Detail

FileUploadBase.FileUploadIOException

public FileUploadBase.FileUploadIOException(FileUploadException pCause)
Creates a FileUploadIOException with the given cause.

Parameters:
pCause - The exceptions cause, if any, or null.
Method Detail

getCause

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

Overrides:
getCause in class java.lang.Throwable
Returns:
The exceptions cause, if any, or null.