com.cinecolombia.interfases.control.web
Class MissingFormDataException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.cinecolombia.interfases.control.web.MissingFormDataException
- All Implemented Interfaces:
- java.io.Serializable
- public class MissingFormDataException
- extends java.lang.Exception
- implements java.io.Serializable
This exception is thrown by the RequestToEventTranslator when a user fails
to provide enough form information. This exception contains list of form
fields needed. This exception is used by a JSP page to generate an error
page.
- Author:
- CincoSOFT
- See Also:
- Serialized Form
- Created:
- Mayo 2003
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
java.lang.String |
getMessage()
Gets the message attribute of the MissingFormDataException object |
java.util.Collection |
getMissingFields()
Gets the missingFields attribute of the MissingFormDataException object |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
missingFields
private java.util.Collection missingFields
message
private java.lang.String message
MissingFormDataException
public MissingFormDataException(java.lang.String message,
java.util.Collection missingFields)
- constructor
- Parameters:
message
- exception messagemissingFields
- list of missing user data
getMissingFields
public java.util.Collection getMissingFields()
- Gets the missingFields attribute of the MissingFormDataException object
- Returns:
- The missingFields value
getMessage
public java.lang.String getMessage()
- Gets the message attribute of the MissingFormDataException object
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- The message value