Coverage Report - org.kuali.rice.kew.exception.RouteManagerException
 
Classes in this File Line Coverage Branch Coverage Complexity
RouteManagerException
0%
0/16
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2008 The Kuali Foundation
 3  
  * 
 4  
  * 
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  * 
 9  
  * http://www.opensource.org/licenses/ecl2.php
 10  
  * 
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 package org.kuali.rice.kew.exception;
 18  
 
 19  
 import org.kuali.rice.kew.api.WorkflowRuntimeException;
 20  
 import org.kuali.rice.kew.engine.RouteContext;
 21  
 
 22  
 
 23  
 /**
 24  
  * Thrown from the engine when a problem is encountered.  Wraps a {@link RouteContext}
 25  
  * which contains information about the state of the engine at the time the
 26  
  * problem was encountered.
 27  
  *
 28  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 29  
  */
 30  
 public class RouteManagerException extends WorkflowRuntimeException {
 31  
 
 32  
     private static final long serialVersionUID = -7957245610622538745L;
 33  
 
 34  
     private RouteContext routeContext;
 35  
     
 36  
     public RouteManagerException(String message) {
 37  0
         super(message);
 38  0
     }
 39  
     
 40  
     public RouteManagerException(String message, RouteContext routeContext) {
 41  0
         super(message);
 42  0
         this.routeContext = routeContext;
 43  0
     }
 44  
     
 45  
     public RouteManagerException(String message, Throwable throwable) {
 46  0
         super(message, throwable);
 47  0
     }
 48  
     
 49  
     public RouteManagerException(String message, Throwable throwable, RouteContext routeContext) {
 50  0
         super(message, throwable);
 51  0
         this.routeContext = routeContext;
 52  0
     }
 53  
     
 54  
     public RouteManagerException(Throwable throwable, RouteContext routeContext) {
 55  0
         super(throwable);
 56  0
         this.routeContext = routeContext;
 57  0
     }
 58  
         
 59  
     public RouteContext getRouteContext() {
 60  0
         return routeContext;
 61  
     }
 62  
 
 63  
     public void setRouteContext(RouteContext routeContext) {
 64  0
         this.routeContext = routeContext;
 65  0
     }
 66  
     
 67  
 }