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.retry;
8   
9   import org.mule.api.lifecycle.FatalException;
10  import org.mule.config.i18n.Message;
11  
12  /** 
13   * This exception is thrown when a Retry policy has made all the retry attempts 
14   * it wants to make and is still failing.
15   */
16  public class RetryPolicyExhaustedException extends FatalException
17  {
18      /** Serial version */
19      private static final long serialVersionUID = 3300563235465630595L;
20  
21      public RetryPolicyExhaustedException(Message message, Object component)
22      {
23          super(message, component);
24      }
25  
26      public RetryPolicyExhaustedException(Message message, Throwable cause, Object component)
27      {
28          super(message, cause, component);
29      }
30  
31      public RetryPolicyExhaustedException(Throwable cause, Object component)
32      {
33          super(cause, component);
34      }
35  }