Package javax.xml.rpc.soap

Examples of javax.xml.rpc.soap.SOAPFaultException.initCause()


/* 185 */       CommonSOAPFaultException soapEx = (CommonSOAPFaultException)reqEx;
/* 186 */       QName faultCode = soapEx.getFaultCode();
/* 187 */       String faultString = soapEx.getFaultString();
/* 188 */       Throwable cause = soapEx.getCause();
/* 189 */       SOAPFaultException faultEx = new SOAPFaultException(faultCode, faultString, null, null);
/* 190 */       faultEx.initCause(cause);
/*     */     }
/*     */     else
/*     */     {
/* 194 */       QName faultCode = Constants.SOAP11_FAULT_CODE_SERVER;
/* 195 */       String faultString = reqEx.getMessage() != null ? reqEx.getMessage() : reqEx.toString();
View Full Code Here


/*     */     else
/*     */     {
/* 194 */       QName faultCode = Constants.SOAP11_FAULT_CODE_SERVER;
/* 195 */       String faultString = reqEx.getMessage() != null ? reqEx.getMessage() : reqEx.toString();
/* 196 */       faultEx = new SOAPFaultException(faultCode, faultString, null, null);
/* 197 */       faultEx.initCause(reqEx);
/*     */     }
/*     */
/* 200 */     Throwable faultCause = faultEx.getCause();
/* 201 */     log.error("SOAP request exception", faultCause != null ? faultCause : faultEx);
/*     */     try
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.