Coverage Report - org.mule.api.security.EncryptionStrategyNotFoundException
 
Classes in this File Line Coverage Branch Coverage Complexity
EncryptionStrategyNotFoundException
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.api.security;
 8  
 
 9  
 import org.mule.api.MuleException;
 10  
 import org.mule.config.i18n.CoreMessages;
 11  
 
 12  
 /**
 13  
  * <code>EncryptionStrategyNotFoundException</code> is thrown by the
 14  
  * SecurityManager when an encryption scheme is set in a property or header that
 15  
  * has not been registered witrh the manager
 16  
  */
 17  
 public class EncryptionStrategyNotFoundException extends MuleException
 18  
 {
 19  
     /**
 20  
      * Serial version
 21  
      */
 22  
     private static final long serialVersionUID = 3916371211189075139L;
 23  
 
 24  
     public EncryptionStrategyNotFoundException(String strategyName)
 25  
     {
 26  0
         super(CoreMessages.authNoEncryptionStrategy(strategyName));
 27  0
     }
 28  
 
 29  
     public EncryptionStrategyNotFoundException(String strategyName, Throwable cause)
 30  
     {
 31  0
         super(CoreMessages.authNoEncryptionStrategy(strategyName), cause);
 32  0
     }
 33  
 }