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.routing;
8   
9   import org.mule.api.MuleEvent;
10  import org.mule.api.processor.MessageProcessor;
11  import org.mule.config.i18n.Message;
12  
13  /**
14   * <code>ResponseTimeoutException</code> is thrown when a response is not received
15   * in a given timeout in the Response Router.
16   * 
17   */
18  public class ResponseTimeoutException extends RoutingException
19  {
20      /**
21       * Serial version
22       */
23      private static final long serialVersionUID = 6882278747922113240L;
24  
25      public ResponseTimeoutException(Message message, MuleEvent event, MessageProcessor target)
26      {
27          super(message, event, target);
28      }
29  
30      public ResponseTimeoutException(Message message, MuleEvent event, MessageProcessor target,
31          Throwable cause)
32      {
33          super(message, event, target, cause);
34      }
35  }