1
2 package org.oasis_open.docs.wsn.brw_2;
3
4 import javax.xml.ws.WebFault;
5 import org.oasis_open.docs.wsn.b_2.UnacceptableTerminationTimeFaultType;
6
7
8
9
10
11
12
13
14 @WebFault(name = "UnacceptableTerminationTimeFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
15 public class UnacceptableTerminationTimeFault
16 extends Exception
17 {
18
19
20
21
22
23 private UnacceptableTerminationTimeFaultType faultInfo;
24
25
26
27
28
29
30 public UnacceptableTerminationTimeFault(String message, UnacceptableTerminationTimeFaultType faultInfo) {
31 super(message);
32 this.faultInfo = faultInfo;
33 }
34
35
36
37
38
39
40
41 public UnacceptableTerminationTimeFault(String message, UnacceptableTerminationTimeFaultType faultInfo, Throwable cause) {
42 super(message, cause);
43 this.faultInfo = faultInfo;
44 }
45
46
47
48
49
50
51 public UnacceptableTerminationTimeFaultType getFaultInfo() {
52 return faultInfo;
53 }
54
55 }