Source code: org/jbpm/web/struts/HttpInputException.java
1 package org.jbpm.web.struts;
2
3 /**
4 * is thrown when the http-parameters are not as expected due to a
5 * bug in the application-software or if somebody is hacking with the
6 * url's. <br><br>
7 * This exception should result in the displaying of an error-page
8 * that says that shows the message of this exception.
9 * <b>NOTE:</b>This exception should not be thrown when the user- input is not as
10 * expected. In such cases Msg's should be put in the ActionContext so they are
11 * displayed to the user in the appropriate screen.
12 * @author Tom Baeyens
13 */
14 public class HttpInputException extends RuntimeException {
15
16 public HttpInputException() {
17 }
18
19 public HttpInputException(String msg) {
20 super(msg);
21 }
22 }