Coverage Report - org.mule.example.errorhandler.exceptions.BusinessException
 
Classes in this File Line Coverage Branch Coverage Complexity
BusinessException
0%
0/4
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.example.errorhandler.exceptions;
 8  
 
 9  
 import org.mule.api.MuleException;
 10  
 import org.mule.config.i18n.MessageFactory;
 11  
 
 12  
 /**
 13  
  * <code>BusinessException</code> TODO (document class)
 14  
  */
 15  
 public class BusinessException extends MuleException
 16  
 {
 17  
     /**
 18  
      * Serial version
 19  
      */
 20  
     private static final long serialVersionUID = -3650171245608111071L;
 21  
 
 22  
     /**
 23  
      * @param message
 24  
      */
 25  
     public BusinessException(String message)
 26  
     {
 27  0
         this("BUSINESS EXCEPTION: " + message, null);
 28  0
     }
 29  
 
 30  
     /**
 31  
      * @param message
 32  
      * @param cause
 33  
      */
 34  
     public BusinessException(String message, Throwable cause)
 35  
     {
 36  0
         super(MessageFactory.createStaticMessage(message), cause);
 37  0
     }
 38  
 
 39  
 }