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-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.kew.exception;
 17  
 
 18  
 import org.kuali.rice.kew.api.WorkflowRuntimeException;
 19  
 import org.kuali.rice.kew.engine.RouteContext;
 20  
 
 21  
 
 22  
 /**
 23  
  * Thrown from the engine when a problem is encountered.  Wraps a {@link RouteContext}
 24  
  * which contains information about the state of the engine at the time the
 25  
  * problem was encountered.
 26  
  *
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  */
 29  
 public class RouteManagerException extends WorkflowRuntimeException {
 30  
 
 31  
     private static final long serialVersionUID = -7957245610622538745L;
 32  
 
 33  
     private RouteContext routeContext;
 34  
     
 35  
     public RouteManagerException(String message) {
 36  0
         super(message);
 37  0
     }
 38  
     
 39  
     public RouteManagerException(String message, RouteContext routeContext) {
 40  0
         super(message);
 41  0
         this.routeContext = routeContext;
 42  0
     }
 43  
     
 44  
     public RouteManagerException(String message, Throwable throwable) {
 45  0
         super(message, throwable);
 46  0
     }
 47  
     
 48  
     public RouteManagerException(String message, Throwable throwable, RouteContext routeContext) {
 49  0
         super(message, throwable);
 50  0
         this.routeContext = routeContext;
 51  0
     }
 52  
     
 53  
     public RouteManagerException(Throwable throwable, RouteContext routeContext) {
 54  0
         super(throwable);
 55  0
         this.routeContext = routeContext;
 56  0
     }
 57  
         
 58  
     public RouteContext getRouteContext() {
 59  0
         return routeContext;
 60  
     }
 61  
 
 62  
     public void setRouteContext(RouteContext routeContext) {
 63  0
         this.routeContext = routeContext;
 64  0
     }
 65  
     
 66  
 }