1 37 38 package com.sun.j2ee.blueprints.consumerwebsite.exceptions; 39 40 import java.util.Collection ; 41 import com.sun.j2ee.blueprints.waf.controller.web.html.HTMLActionException; 42 43 49 public class MissingFormDataException extends HTMLActionException implements java.io.Serializable { 50 51 private Collection missingFields; 52 private String message; 53 54 public MissingFormDataException(String message, Collection missingFields) { 55 this.message = message; 56 this.missingFields = missingFields; 57 } 58 59 public MissingFormDataException(String message, Throwable cause, Collection missingFields) { 60 super(cause); 61 this.message = message; 62 this.missingFields = missingFields; 63 } 64 65 public Collection getMissingFields() { 66 return missingFields; 67 } 68 69 public String getMessage() { 70 return message; 71 } 72 73 } 74 75 | Popular Tags |