OOP MimeParser Version 3.5

com.bentofw.util
Class GetRequestException

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

public class GetRequestException
extends java.lang.RuntimeException

Thrown by the Java API (such as MimeParser) which does not support "GET" request.

File upload to JSP/Servlet can be done only by the HTTP POST request for multipart/form-data. Some of our Java API read the HTTP POST request for multipart/form-data and those Java API cannot accept HTTP GET request. They will throw this exception if the HTTP GET request arrives in. Your JSP/Servlet have a chance to catch this exception and prevent the trouble.

Author:
Jun Inamori
See Also:
Serialized Form

Constructor Summary
GetRequestException()
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetRequestException

public GetRequestException()
Method Detail

getMessage

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

toString

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

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.