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.registry;
8   
9   import org.mule.api.MuleException;
10  import org.mule.config.i18n.Message;
11  
12  /**
13   * Any service-related exception: service not found, service lookup error, etc.
14   */
15  public class ServiceException extends MuleException
16  {
17      public ServiceException(Message message)
18      {
19          super(message);
20      }
21  
22      public ServiceException(Message message, Throwable cause)
23      {
24          super(message, cause);
25      }
26  }