Package org.jboss.ws.core.binding

Examples of org.jboss.ws.core.binding.BindingException


/*    */     {
/* 65 */       throw rte;
/*    */     }
/*    */     catch (Exception ex) {
/*    */     }
/* 69 */     throw new BindingException();
/*    */   }
View Full Code Here


/*     */       {
/* 699 */         mimeType = MimeUtils.resolveMimeType(value);
/*     */       }
/*     */
/* 702 */       if (mimeType == null) {
/* 703 */         throw new BindingException("Could not determine mime type for attachment parameter: " + partName);
/*     */       }
/* 705 */       part.setContent(value, mimeType);
/*     */     }
/*     */
/* 708 */     if (paramMetaData.isSwA())
View Full Code Here

/*     */   {
/* 724 */     QName xmlName = paramMetaData.getXmlName();
/*     */
/* 726 */     AttachmentPart part = ((SOAPMessageImpl)message).getAttachmentByPartName(xmlName.getLocalPart());
/* 727 */     if (part == null) {
/* 728 */       throw new BindingException("Could not locate attachment for parameter: " + paramMetaData.getXmlName());
/*     */     }
/* 730 */     return part;
/*     */   }
View Full Code Here

/*     */
/* 739 */     if ((value != null) && (!paramMetaData.isXOP()))
/*     */     {
/* 741 */       Class valueType = value.getClass();
/* 742 */       if (!JavaUtils.isAssignableFrom(javaType, valueType)) {
/* 743 */         throw new BindingException("javaType " + javaType.getName() + " is not assignable from: " + valueType.getName());
/*     */       }
/*     */     }
/*     */
/* 747 */     if (xmlName.getNamespaceURI().length() > 0)
/*     */     {
View Full Code Here

/* 948 */       throw ((RuntimeException)ex);
/*     */     }
/* 950 */     if ((ex instanceof BindingException)) {
/* 951 */       throw ((BindingException)ex);
/*     */     }
/* 953 */     throw new BindingException(ex);
/*     */   }
View Full Code Here

/* 173 */       throw ((RuntimeException)ex);
/*     */     }
/* 175 */     if ((ex instanceof BindingException)) {
/* 176 */       throw ((BindingException)ex);
/*     */     }
/* 178 */     throw new BindingException(ex);
/*     */   }
View Full Code Here

/* 165 */       throw ((RuntimeException)ex);
/*     */     }
/* 167 */     if ((ex instanceof BindingException)) {
/* 168 */       throw ((BindingException)ex);
/*     */     }
/* 170 */     throw new BindingException(ex);
/*     */   }
View Full Code Here

/* 195 */       throw ((RuntimeException)ex);
/*     */     }
/* 197 */     if ((ex instanceof BindingException)) {
/* 198 */       throw ((BindingException)ex);
/*     */     }
/* 200 */     throw new BindingException(ex);
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.ws.core.binding.BindingException

Copyright © 2018 www.massapicom. 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.