com.sun.j2ee.blueprints.petstore.control.web
Class MissingFormDataException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sun.j2ee.blueprints.petstore.control.web.MissingFormDataException

public class MissingFormDataException
extends java.lang.Exception

This exception is thrown by the RequestToEventTranslator when a user fails to provide enough form information. This excption contains list of form fields needed. This exception is used by a JSP page to generate an error page.

See Also:
Serialized Form

Constructor Summary
MissingFormDataException(java.lang.String message, java.util.Collection missingFields)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.util.Collection getMissingFields()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingFormDataException

public MissingFormDataException(java.lang.String message,
                                java.util.Collection missingFields)
Method Detail

getMissingFields

public java.util.Collection getMissingFields()

getMessage

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


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.