View Javadoc
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.MuleEvent;
10  import org.mule.config.i18n.Message;
11  
12  /**
13   * <code>EncryptionNotSupportedException</code> is thrown if an algorithm is set in
14   * the MULE_USER header but it doesn't match the algorithm set on the security filter
15   */
16  
17  public class EncryptionNotSupportedException extends SecurityException
18  {
19      /**
20       * Serial version
21       */
22      private static final long serialVersionUID = -1661059380853528624L;
23      
24      public EncryptionNotSupportedException(Message message, MuleEvent event)
25      {
26          super(message, event);
27      }
28  
29      public EncryptionNotSupportedException(Message message, MuleEvent event, Throwable cause)
30      {
31          super(message, event, cause);
32      }
33  }