Tabnine Logo
WsrfbfUtils.getBindingExMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
getBindingExMessage
method
in
com.ebmwebsourcing.wsstar.basefaults.datatypes.impl.utils.WsrfbfUtils

Best Java code snippets using com.ebmwebsourcing.wsstar.basefaults.datatypes.impl.utils.WsrfbfUtils.getBindingExMessage (Showing top 20 results out of 315)

origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeGetCurrentMessageResponseAsDOM(
    GetCurrentMessageResponse value) throws WsnbException {
  Document result = null;    
  try {
    Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
        
    
    result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument(); 
    
    // TODO : Check if it is a Thread safe method
    final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.GetCurrentMessageResponse> element = 
      new JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.GetCurrentMessageResponse>(WsnbConstants.GET_CURRENT_MESSAGE_RESPONSE_QNAME,
          com.ebmwebsourcing.wsstar.jaxb.notification.base.GetCurrentMessageResponse.class,((GetCurrentMessageResponseImpl)value).getJaxbTypeObj());

    marshaller.marshal(element, result);            
      } catch (final JAXBException ex) {
    throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
  }
  
  return result;
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeSubscribeResponseAsDOM(SubscribeResponse value)
    throws WsnbException {
  Document result = null;    
  try {
    Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
        
    result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument(); 
    
    // TODO : Check if it is a Thread safe method
    final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.SubscribeResponse> element =
     new JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.SubscribeResponse>(WsnbConstants.SUBSCRIBE_RESPONSE_QNAME,
          com.ebmwebsourcing.wsstar.jaxb.notification.base.SubscribeResponse.class, SubscribeResponseImpl.toJaxbModel(value));     
    marshaller.marshal(element, result);                        
      } catch (final JAXBException ex) {
    throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
  }                    
  return result;
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeUseRawAsDOM(UseRaw value) throws WsnbException {
  Document result = null;
  if (value instanceof UseRawImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.UseRaw> element = 
        new JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.UseRaw>(WsnbConstants.USERAW_QNAME,
            com.ebmwebsourcing.wsstar.jaxb.notification.base.UseRaw.class,((UseRawImpl)value).getJaxbTypeObj());
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsrf-rl-datatypes-jaxbimpl

@Override
public final Document writeDestroyAsDOM(Destroy value) throws WsrfrlException {
  Document result = null;
  if (value instanceof DestroyImpl){
    try {
      Marshaller marshaller = this.resourceLifetimeJaxbContext.createWSResourceLifetimeMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.resource.resourcelifetime.Destroy> element = 
        new JAXBElement<com.ebmwebsourcing.wsstar.jaxb.resource.resourcelifetime.Destroy>(WsrfrlConstants.DESTROY_QNAME,
            com.ebmwebsourcing.wsstar.jaxb.resource.resourcelifetime.Destroy.class,
            ((DestroyImpl)value).getJaxbTypeObj());
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsrfrlException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeUnsubscribeAsDOM(Unsubscribe value)
    throws WsnbException {
  Document result = null;
  if (value instanceof UnsubscribeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.Unsubscribe> element = 
        new JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.Unsubscribe>(WsnbConstants.UNSUBSCRIBE_QNAME,
            com.ebmwebsourcing.wsstar.jaxb.notification.base.Unsubscribe.class,((UnsubscribeImpl)value).getJaxbTypeObj());
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeSubscriptionPolicyTypeAsDOM(
    SubscriptionPolicyType value) throws WsnbException {
  Document result = null;    
  try {
    Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
    result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument(); 
    // TODO : Check if it is a Thread safe method
    final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.SubscriptionPolicyType> element = 
      WsnbJAXBContext.WSNB_JAXB_FACTORY.createSubscriptionPolicy(SubscriptionPolicyTypeImpl.toJaxbModel(value));
    marshaller.marshal(element, result);
  } catch (final JAXBException ex) {
    throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
  }                       
  return result;
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeMessageContentExpressionAsDOM(MessageContentExpression value)
    throws WsnbException {
  Document result = null;    
  try {
    Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
    
    result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument(); 
            
    // TODO : Check if it is a Thread safe method
    final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.QueryExpressionType> element =
      WsnbJAXBContext.WSNB_JAXB_FACTORY.createMessageContent(MessageContentExpressionImpl.toJaxbModel(value));
    
    marshaller.marshal(element, result);
    
  } catch (final JAXBException ex) {
    throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
  } 
  
  return result;
}

origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeProducerPropertiesExpressionAsDOM(ProducerPropertiesExpression value)
    throws WsnbException {
  Document result = null;    
  try {
    Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
    
    result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument(); 
                     // TODO : Check if it is a Thread safe method
    final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.QueryExpressionType> element =
      WsnbJAXBContext.WSNB_JAXB_FACTORY.createProducerProperties(ProducerPropertiesExpressionImpl.toJaxbModel(value));
    
    marshaller.marshal(element, result);
    
  } catch (final JAXBException ex) {
    throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
  } 
  
  return result;
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeInvalidTopicExpressionFaultTypeAsDOM(
    InvalidTopicExpressionFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof InvalidTopicExpressionFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidTopicExpressionFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createInvalidTopicExpressionFault(InvalidTopicExpressionFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}

origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeTopicNotSupportedFaultTypeAsDOM(
    TopicNotSupportedFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof TopicNotSupportedFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.TopicNotSupportedFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createTopicNotSupportedFault(TopicNotSupportedFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsrf-rl-datatypes-jaxbimpl

@Override
public final Document writeResourceNotDestroyedFaultTypeAsDOM(
    ResourceNotDestroyedFaultType value) throws WsrfrlException {
  Document result = null;
  if (value instanceof ResourceNotDestroyedFaultTypeImpl){
    try {
      Marshaller marshaller = this.resourceLifetimeJaxbContext.createWSResourceLifetimeMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.resource.resourcelifetime.ResourceNotDestroyedFaultType> element = 
        WsrfrlJAXBContext.WSRFRL_JAXB_FACTORY.createResourceNotDestroyedFault(ResourceNotDestroyedFaultTypeImpl.toJaxbModel(value));
        
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsrfrlException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsrf-rl-datatypes-jaxbimpl

@Override
public final Document writeTerminationTimeAsDOM(TerminationTime value)
    throws WsrfrlException {
  Document result = null;
  if (value instanceof TerminationTimeImpl){
    try {
      Marshaller marshaller = this.resourceLifetimeJaxbContext.createWSResourceLifetimeMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.resource.resourcelifetime.TerminationTime> element = 
      WsrfrlJAXBContext.WSRFRL_JAXB_FACTORY.createTerminationTime(TerminationTimeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsrfrlException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsrf-rl-datatypes-jaxbimpl

@Override
public final Document writeUnableToSetTerminationTimeFaultTypeAsDOM(
    UnableToSetTerminationTimeFaultType value) throws WsrfrlException {
  Document result = null;
  if (value instanceof UnableToSetTerminationTimeFaultTypeImpl){
    try {
      Marshaller marshaller = this.resourceLifetimeJaxbContext.createWSResourceLifetimeMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.resource.resourcelifetime.UnableToSetTerminationTimeFaultType> element = 
        WsrfrlJAXBContext.WSRFRL_JAXB_FACTORY.createUnableToSetTerminationTimeFault(UnableToSetTerminationTimeFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsrfrlException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;		
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeResumeFailedFaultTypeAsDOM(ResumeFailedFaultType value)
    throws WsnbException {
  Document result = null;
  if (value instanceof ResumeFailedFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.ResumeFailedFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createResumeFailedFault(ResumeFailedFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeUnableToGetMessagesFaultTypeAsDOM(
    UnableToGetMessagesFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof UnableToGetMessagesFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.UnableToGetMessagesFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createUnableToGetMessagesFault(UnableToGetMessagesFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeUnrecognizedPolicyRequestFaultTypeAsDOM(
    UnrecognizedPolicyRequestFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof UnrecognizedPolicyRequestFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.UnrecognizedPolicyRequestFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createUnrecognizedPolicyRequestFault(UnrecognizedPolicyRequestFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeMultipleTopicsSpecifiedFaultTypeAsDOM(
    MultipleTopicsSpecifiedFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof MultipleTopicsSpecifiedFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.MultipleTopicsSpecifiedFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createMultipleTopicsSpecifiedFault(MultipleTopicsSpecifiedFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeInvalidFilterFaultTypeAsDOM(
    InvalidFilterFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof InvalidFilterFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidFilterFaultType> element =
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createInvalidFilterFault(InvalidFilterFaultTypeImpl.toJaxbModel(value));
      
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeNoCurrentMessageOnTopicFaultTypeAsDOM(
    NoCurrentMessageOnTopicFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof NoCurrentMessageOnTopicFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.NoCurrentMessageOnTopicFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createNoCurrentMessageOnTopicFault(NoCurrentMessageOnTopicFaultTypeImpl.toJaxbModel(value));
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
origin: com.ebmwebsourcing.wsstar/wsn-b-datatypes-jaxbimpl

@Override
public final Document writeInvalidMessageContentExpressionFaultTypeAsDOM(
    InvalidMessageContentExpressionFaultType value) throws WsnbException {
  Document result = null;
  if (value instanceof InvalidMessageContentExpressionFaultTypeImpl){
    try {
      Marshaller marshaller = this.wsnbJaxbContext.createWSNotificationMarshaller();
      result = WsstarCommonUtils.getNamespaceDocumentBuilder().newDocument();
      // TODO : Check if it is a Thread safe method
      final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.notification.base.InvalidMessageContentExpressionFaultType> element = 
        WsnbJAXBContext.WSNB_JAXB_FACTORY.createInvalidMessageContentExpressionFault(
            InvalidMessageContentExpressionFaultTypeImpl.toJaxbModel(value));
      
      marshaller.marshal(element, result);            
    } catch (final JAXBException ex) {
      throw new WsnbException(WsrfbfUtils.getBindingExMessage(value), ex);
    } 
  }
  return result;	
}
com.ebmwebsourcing.wsstar.basefaults.datatypes.impl.utilsWsrfbfUtilsgetBindingExMessage

Javadoc

provide a "generic" message content for Binding Exception

Popular methods of WsrfbfUtils

  • toXMLGregorianCalendar
    Convert to XMLGregorianCalendar type and also to avoid to duplicate piece of code

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Reference (javax.naming)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JList (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now