Coverage Report - org.kuali.rice.kns.web.struts.form.AuthorizationExceptionForm
 
Classes in this File Line Coverage Branch Coverage Complexity
AuthorizationExceptionForm
0%
0/10
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2010 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  
 
 17  
 package org.kuali.rice.kns.web.struts.form;
 18  
 
 19  
 import javax.servlet.http.HttpServletRequest;
 20  
 
 21  
 import org.apache.struts.action.ActionMapping;
 22  
 import org.kuali.rice.kns.web.struts.form.KualiForm;
 23  
 
 24  
 /**
 25  
  * Provides the form for displaying an AuthorizationException.
 26  
  */
 27  0
 public class AuthorizationExceptionForm extends KualiForm {
 28  
 
 29  
     private static final long serialVersionUID = 4341621967261863961L;
 30  
     
 31  
     private String message;
 32  
 
 33  
     /**
 34  
      * Resets the attributes of the form retrieved from session.
 35  
      * @param mapping
 36  
      * @param request
 37  
      */
 38  
     public void reset(ActionMapping mapping, HttpServletRequest request) {
 39  0
         this.setMethodToCall(null);
 40  0
         this.setRefreshCaller(null);
 41  0
         this.setAnchor(null);
 42  0
         this.setCurrentTabIndex(0);
 43  
         
 44  0
         this.message = null;
 45  0
     }
 46  
 
 47  
     public String getMessage() {
 48  0
         return message;
 49  
     }
 50  
 
 51  
     public void setMessage(String message) {
 52  0
         this.message = message;
 53  0
     }
 54  
     
 55  
 }