Package com.arjuna.mw.wsas.exceptions

Examples of com.arjuna.mw.wsas.exceptions.InvalidHLSException


{

    public static final void addHLS (HLS service) throws InvalidHLSException, SystemException
    {
  if (service == null)
      throw new InvalidHLSException();
  else
      _hls.insert(new HLSWrapper(service));
    }
View Full Code Here


     */

    public static final void removeHLS (HLS service) throws InvalidHLSException, SystemException
    {
  if (service == null)
      throw new InvalidHLSException();
  else
  {
      synchronized (_hls)
      {
    OrderedListIterator iter = new OrderedListIterator(_hls);
    OrderedListElement elem = iter.iterate();
   
    while ((elem != null) && (((HLSWrapper) elem).hls() != service))
    {
        elem = iter.iterate();
    }
   
    if (elem == null)
        throw new InvalidHLSException(wsasLogger.log_mesg.getString("com.arjuna.mwlabs.wsas.activity.HLSManager_1"));
    else
        _hls.remove(elem);
      }
  }
    }
View Full Code Here

{

    public static final void addHLS (HLS service) throws InvalidHLSException, SystemException
    {
  if (service == null)
      throw new InvalidHLSException();
  else
      _hls.insert(new HLSWrapper(service));
    }
View Full Code Here

     */

    public static final void removeHLS (HLS service) throws InvalidHLSException, SystemException
    {
  if (service == null)
      throw new InvalidHLSException();
  else
  {
      synchronized (_hls)
      {
    OrderedListIterator iter = new OrderedListIterator(_hls);
    OrderedListElement elem = iter.iterate();
   
    while ((elem != null) && (((HLSWrapper) elem).hls() != service))
    {
        elem = iter.iterate();
    }
   
    if (elem == null)
        throw new InvalidHLSException(wsasLogger.log_mesg.getString("com.arjuna.mwlabs.wsas.activity.HLSManager_1"));
    else
        _hls.remove(elem);
      }
  }
    }
View Full Code Here

TOP

Related Classes of com.arjuna.mw.wsas.exceptions.InvalidHLSException

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.