Coverage Report - org.mule.api.lifecycle.CreateException
 
Classes in this File Line Coverage Branch Coverage Complexity
CreateException
0%
0/6
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.api.lifecycle;
 8  
 
 9  
 import org.mule.config.i18n.Message;
 10  
 
 11  
 /**
 12  
  * <code>CreateException</code> is thrown when creating an object inside Mule wasn't possible due
 13  
  * to inconsistent internal state or wrong input.
 14  
  */
 15  
 public class CreateException extends LifecycleException
 16  
 {
 17  
     /** Serial version */
 18  
     private static final long serialVersionUID = -8402348927606781921L;
 19  
 
 20  
     /**
 21  
      * @param message   the exception message
 22  
      * @param component the component that failed during a lifecycle method call
 23  
      */
 24  
     public CreateException(Message message, Object component)
 25  
     {
 26  0
         super(message, component);
 27  0
     }
 28  
 
 29  
     /**
 30  
      * @param message   the exception message
 31  
      * @param cause     the exception that cause this exception to be thrown
 32  
      * @param component the component that failed during a lifecycle method call
 33  
      */
 34  
     public CreateException(Message message, Throwable cause, Object component)
 35  
     {
 36  0
         super(message, cause, component);
 37  0
     }
 38  
 
 39  
     /**
 40  
      * @param cause     the exception that cause this exception to be thrown
 41  
      * @param component the component that failed during a lifecycle method call
 42  
      */
 43  
     public CreateException(Throwable cause, Object component)
 44  
     {
 45  0
         super(cause, component);
 46  0
     }
 47  
 }