Package org.apache.servicemix.wsn.jaxws

Examples of org.apache.servicemix.wsn.jaxws.PauseFailedFault


    @Override
    protected void pause() throws PauseFailedFault {
        if (session == null) {
            PauseFailedFaultType fault = new PauseFailedFaultType();
            throw new PauseFailedFault("Subscription is already paused", fault);
        } else {
            try {
                session.close();
            } catch (JMSException e) {
                PauseFailedFaultType fault = new PauseFailedFaultType();
                throw new PauseFailedFault("Error pausing subscription", fault, e);
            } finally {
                session = null;
            }
        }
    }
View Full Code Here


 
  @Override
  protected void pause() throws PauseFailedFault {
    if (session == null) {
      PauseFailedFaultType fault = new PauseFailedFaultType();
      throw new PauseFailedFault("Subscription is already paused", fault);
    } else {
      try {
        session.close();
      } catch (JMSException e) {
        PauseFailedFaultType fault = new PauseFailedFaultType();
        throw new PauseFailedFault("Error pausing subscription", fault, e);
      } finally {
        session = null;
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.wsn.jaxws.PauseFailedFault

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.