1
2
3
4
5
6
7
8
9
10
11 package org.mule.providers.soap.xfire.testmodels;
12
13
14 public class TestXFireComponent
15 {
16 public String testXFireException(String data) throws XFireEnabledFaultMessage
17 {
18 CustomFault fault = new CustomFault();
19 fault.setDescription("Custom Exception Message");
20 throw new XFireEnabledFaultMessage("XFire Exception Message", fault);
21 }
22
23 public String testNonXFireException(String data) throws UnsupportedOperationException
24 {
25 throw new UnsupportedOperationException("Non-XFire Enabled Exception");
26 }
27 }