diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2014-11-05 08:07:15 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2014-11-05 08:07:15 +0100 |
commit | 7a5b350a93990956106d91679240b6e8326cb110 (patch) | |
tree | 138196b56fb04f186f05387f8f68be6bd91a0e85 /src/main/java/at/gv/util/wsdl/MOAFault.java | |
parent | e2150f22562b4bc06307f4ac7b842687390e4856 (diff) | |
download | egovutils-7a5b350a93990956106d91679240b6e8326cb110.tar.gz egovutils-7a5b350a93990956106d91679240b6e8326cb110.tar.bz2 egovutils-7a5b350a93990956106d91679240b6e8326cb110.zip |
change more client implementations to APACHE CXF
Diffstat (limited to 'src/main/java/at/gv/util/wsdl/MOAFault.java')
-rw-r--r-- | src/main/java/at/gv/util/wsdl/MOAFault.java | 64 |
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; + } } |