OOP Pop3Receiver Version 2.2

com.bentofw.util
Class CorruptedBinaryContentsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.bentofw.util.CorruptedBinaryContentsException
All Implemented Interfaces:
java.io.Serializable

public class CorruptedBinaryContentsException
extends java.lang.RuntimeException

Thrown if the binary contents of the uploaded file do not match to the intended pattern for the specified mime-type.

This execption will be thrown by:

Since:
1.5
Author:
Jun Inamori

com.bentofw.web.mime.MimeParser

See Also:
Serialized Form

Constructor Summary
CorruptedBinaryContentsException(java.lang.String f, java.lang.String t)
          Thrown if the binary contents of the uploaded file do not match to the intended pattern for the specified mime-type.
 
Method Summary
 java.lang.String getFileName()
          Return the file name of the uploaded file.
 java.lang.String getMessage()
           
 java.lang.String getMimeType()
          Return the mime-type of the uploaded file.
 
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
 

Constructor Detail

CorruptedBinaryContentsException

public CorruptedBinaryContentsException(java.lang.String f,
                                        java.lang.String t)
Thrown if the binary contents of the uploaded file do not match to the intended pattern for the specified mime-type.

This execption will be thrown by:

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 of the uploaded file.

Returns:
The file name of the uploaded file.

getMimeType

public java.lang.String getMimeType()
Return the mime-type of the uploaded file.

Returns:
The mime-type of the uploaded file.

OOP Pop3Receiver Version 2.2

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