1 /* 2 * $Id: TestExceptionStrategy.java 10787 2008-02-12 18:51:50Z dfeist $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com 5 * 6 * The software in this package is published under the terms of the CPAL v1.0 7 * license, a copy of which has been included with this distribution in the 8 * LICENSE.txt file. 9 */ 10 11 package org.mule.tck.testmodels.mule; 12 13 import org.mule.DefaultExceptionStrategy; 14 15 /** 16 * <code>TestExceptionStrategy</code> is used by the Mule test cases as a direct replacement of the {@link org.mule.DefaultExceptionStrategy} 17 * This is used to test that overriding the default Exception strategy works 18 */ 19 public class TestExceptionStrategy extends DefaultExceptionStrategy 20 { 21 private String testProperty; 22 23 public String getTestProperty() 24 { 25 return testProperty; 26 } 27 28 public void setTestProperty(String testProperty) 29 { 30 this.testProperty = testProperty; 31 } 32 }