com.instantbank.lettertemplate.control.web
Class MissingFormDataException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.instantbank.lettertemplate.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:
- Instant-bank (Consuelo Franky)
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
backtrace, detailMessage, serialVersionUID |
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, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, 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