Package org.jboss.ws.core.binding

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


         throw (RuntimeException)ex;

      if (ex instanceof BindingException)
         throw (BindingException)ex;

      throw new BindingException(ex);
   }
View Full Code Here


         {
            mimeType = MimeUtils.resolveMimeType(value);
         }

         if (mimeType == null)
            throw new BindingException("Could not determine mime type for attachment parameter: " + partName);

         part.setContent(value, mimeType);
      }

      if (paramMetaData.isSwA())
View Full Code Here

   {
      QName xmlName = paramMetaData.getXmlName();

      AttachmentPart part = ((SOAPMessageImpl)message).getAttachmentByPartName(xmlName.getLocalPart());
      if (part == null)
         throw new BindingException("Could not locate attachment for parameter: " + paramMetaData.getXmlName());

      return part;
   }
View Full Code Here

      if (value != null && paramMetaData.isXOP() == false)
      {
         Class valueType = value.getClass();
         if (JavaUtils.isAssignableFrom(javaType, valueType) == false)
            throw new BindingException("javaType " + javaType.getName() + " is not assignable from: " + valueType.getName());
      }

      // Make sure we have a prefix on qualified names
      if (xmlName.getNamespaceURI().length() > 0)
      {
View Full Code Here

         throw (RuntimeException)ex;

      if (ex instanceof BindingException)
         throw (BindingException)ex;

      throw new BindingException(ex);
   }
View Full Code Here

/*     */     {
/* 107 */       throw rte;
/*     */     }
/*     */     catch (Exception ex)
/*     */     {
/* 111 */       throw new BindingException(ex);
/*     */     }
/*     */
/* 114 */     if (log.isDebugEnabled()) log.debug("deserialized: " + (value != null ? value.getClass().getName() : null));
/* 115 */     return value;
/*     */   }
View Full Code Here

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

/*     */     {
/* 164 */       throw e;
/*     */     }
/*     */     catch (Exception e) {
/*     */     }
/* 168 */     throw new BindingException(e);
/*     */   }
View Full Code Here

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

/*     */     {
/* 121 */       throw e;
/*     */     }
/*     */     catch (Exception e) {
/*     */     }
/* 125 */     throw new BindingException(e);
/*     */   }
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.