View Javadoc
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.UnsupportedPolicyRequestFaultType;
6   
7   
8   /**
9    * This class was generated by the JAX-WS RI.
10   * JAX-WS RI 2.1.6 in JDK 6
11   * Generated source version: 2.1
12   * 
13   */
14  @WebFault(name = "UnsupportedPolicyRequestFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
15  public class UnsupportedPolicyRequestFault
16      extends Exception
17  {
18  
19      /**
20       * Java type that goes as soapenv:Fault detail element.
21       * 
22       */
23      private UnsupportedPolicyRequestFaultType faultInfo;
24  
25      /**
26       * 
27       * @param message
28       * @param faultInfo
29       */
30      public UnsupportedPolicyRequestFault(String message, UnsupportedPolicyRequestFaultType faultInfo) {
31          super(message);
32          this.faultInfo = faultInfo;
33      }
34  
35      /**
36       * 
37       * @param message
38       * @param faultInfo
39       * @param cause
40       */
41      public UnsupportedPolicyRequestFault(String message, UnsupportedPolicyRequestFaultType faultInfo, Throwable cause) {
42          super(message, cause);
43          this.faultInfo = faultInfo;
44      }
45  
46      /**
47       * 
48       * @return
49       *     returns fault bean: org.oasis_open.docs.wsn.b_2.UnsupportedPolicyRequestFaultType
50       */
51      public UnsupportedPolicyRequestFaultType getFaultInfo() {
52          return faultInfo;
53      }
54  
55  }