Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
FileUploadLimitExceededException |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2005-2011 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl2.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.rice.kns.exception; | |
17 | ||
18 | import org.apache.struts.action.ActionForm; | |
19 | import org.apache.struts.action.ActionMapping; | |
20 | import org.kuali.rice.core.api.exception.KualiException; | |
21 | ||
22 | /** | |
23 | * This class represents an FileUploadLimitExceededException. | |
24 | * | |
25 | * | |
26 | */ | |
27 | ||
28 | public class FileUploadLimitExceededException extends KualiException { | |
29 | ||
30 | private ActionForm actionForm; | |
31 | private ActionMapping actionMapping; | |
32 | ||
33 | /** | |
34 | * Create an FileUploadLimitExceededException with the given message | |
35 | * | |
36 | * @param message | |
37 | */ | |
38 | public FileUploadLimitExceededException(String message, ActionForm actionForm, ActionMapping actionMapping) { | |
39 | 0 | super(message); |
40 | 0 | this.actionForm = actionForm; |
41 | 0 | this.actionMapping = actionMapping; |
42 | 0 | } |
43 | ||
44 | /** | |
45 | * Create an FileUploadLimitExceededException with the given message and cause | |
46 | * | |
47 | * @param message | |
48 | * @param cause | |
49 | */ | |
50 | public FileUploadLimitExceededException(String message, Throwable cause) { | |
51 | 0 | super(message, cause); |
52 | 0 | } |
53 | ||
54 | /** | |
55 | * @return the actionForm | |
56 | */ | |
57 | public ActionForm getActionForm() { | |
58 | 0 | return this.actionForm; |
59 | } | |
60 | ||
61 | /** | |
62 | * @return the actionMapping | |
63 | */ | |
64 | public ActionMapping getActionMapping() { | |
65 | 0 | return this.actionMapping; |
66 | } | |
67 | ||
68 | } |