OOP MimeParser Version 3.5

com.bentofw.mime
Class TooLargeFileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bentofw.mime.TooLargeFileException
All Implemented Interfaces:
java.io.Serializable

public class TooLargeFileException
extends java.lang.Exception

When the size of the uploaded file exceeds the specified max size, this exception is thrown by MimeParser.

For details about the maximum size, please read another page.

Author:
Jun Inamori
See Also:
Serialized Form

Method Summary
 java.lang.String getCurrentFileSize()
          Return the file size to be uploaded.
 java.lang.String getFileName()
          Return the file name to be uploaded.
 java.lang.String getMaxFileSize()
          Return the maximum file size to be allowed.
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getFileName

public java.lang.String getFileName()
Return the file name to be uploaded.

Returns:
The file name to be uploaded.
Since:
2.2

getCurrentFileSize

public java.lang.String getCurrentFileSize()
Return the file size to be uploaded.

Returns:
The file size to be uploaded.
Since:
2.2

getMaxFileSize

public java.lang.String getMaxFileSize()
Return the maximum file size to be allowed.

Returns:
The maximum file size to be allowed
Since:
2.2

OOP MimeParser Version 3.5

ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.