summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/wsdl/MOAFault.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/wsdl/MOAFault.java')
-rw-r--r--src/main/java/at/gv/util/wsdl/MOAFault.java64
1 files changed, 26 insertions, 38 deletions
diff --git a/src/main/java/at/gv/util/wsdl/MOAFault.java b/src/main/java/at/gv/util/wsdl/MOAFault.java
index e631845..f279560 100644
--- a/src/main/java/at/gv/util/wsdl/MOAFault.java
+++ b/src/main/java/at/gv/util/wsdl/MOAFault.java
@@ -2,54 +2,42 @@
package at.gv.util.wsdl;
import javax.xml.ws.WebFault;
-import at.gv.util.xsd.moaspss.ErrorResponseType;
/**
- * This class was generated by the JAX-WS RI.
- * JAX-WS RI 2.1.6 in JDK 6
- * Generated source version: 2.1
- *
+ * This class was generated by Apache CXF 3.0.1
+ * 2014-10-28T17:46:23.711+01:00
+ * Generated source version: 3.0.1
*/
+
@WebFault(name = "ErrorResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#")
-public class MOAFault
- extends Exception
-{
-
- /**
- * Java type that goes as soapenv:Fault detail element.
- *
- */
- private ErrorResponseType faultInfo;
-
- /**
- *
- * @param message
- * @param faultInfo
- */
- public MOAFault(String message, ErrorResponseType faultInfo) {
+public class MOAFault extends Exception {
+
+ private at.gv.util.xsd.moaspss.ErrorResponseType errorResponse;
+
+ public MOAFault() {
+ super();
+ }
+
+ public MOAFault(String message) {
super(message);
- this.faultInfo = faultInfo;
}
-
- /**
- *
- * @param message
- * @param faultInfo
- * @param cause
- */
- public MOAFault(String message, ErrorResponseType faultInfo, Throwable cause) {
+
+ public MOAFault(String message, Throwable cause) {
super(message, cause);
- this.faultInfo = faultInfo;
}
- /**
- *
- * @return
- * returns fault bean: at.gv.util.xsd.moaspss.ErrorResponseType
- */
- public ErrorResponseType getFaultInfo() {
- return faultInfo;
+ public MOAFault(String message, at.gv.util.xsd.moaspss.ErrorResponseType errorResponse) {
+ super(message);
+ this.errorResponse = errorResponse;
}
+ public MOAFault(String message, at.gv.util.xsd.moaspss.ErrorResponseType errorResponse, Throwable cause) {
+ super(message, cause);
+ this.errorResponse = errorResponse;
+ }
+
+ public at.gv.util.xsd.moaspss.ErrorResponseType getFaultInfo() {
+ return this.errorResponse;
+ }
}