Package org.jboss.ws.core.binding

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


      {
         throw rte;
      }
      catch (Exception ex)
      {
         throw new BindingException(ex);
      }

      if(log.isDebugEnabled()) log.debug("deserialized: " + (value != null ? value.getClass().getName() : null));
      return value;
View Full Code Here


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

      {
         throw e;
      }
      catch (Exception e)
      {
         throw new BindingException(e);
      }
   }
View Full Code Here

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

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

         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

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.