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