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.example.loanbroker; 8 9 import org.mule.api.MuleException; 10 import org.mule.config.i18n.MessageFactory; 11 12 /** 13 * Exception related to the LoanBroker example app. 14 */ 15 public class LoanBrokerException extends MuleException 16 { 17 private static final long serialVersionUID = -1669865702115931005L; 18 19 public LoanBrokerException(String message) 20 { 21 super(MessageFactory.createStaticMessage(message)); 22 } 23 24 public LoanBrokerException(Exception e) 25 { 26 super(e); 27 } 28 }