/* **************************************************************************

  $Archive: /njcl_v2/src/com/novell/service/session/xplat/NotConnectionOwnerException.java $
  $Revision: 6 $
  $Modtime: 7/28/99 12:28p $

  Copyright (c) 1997 Novell, Inc.  All Rights Reserved.

  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  CRIMINAL AND CIVIL LIABILITY.

****************************************************************************/
package com.novell.service.session.xplat;

import com.novell.service.session.SessionException;

/**
 * Thrown when a connection is already owned by a different provider.
 */
public class NotConnectionOwnerException
extends SessionException
{
   /**
    * Constructs a NotConnectionOwnerException with the specified detail
    * message. A detail message is a String that describes this particular
    * exception.
    *
    * @param s The detail message describing the exception.
    */
   public NotConnectionOwnerException
   (
      String s
   )
   {
      super(s);
   }

   /**
   * Constructs a NotConnectionOwnerException with a root-cause exception.
   * The root cause exception can be retrieved using getRootCause().
   *
   * @param rootException The root-cause exception.
    */
   public NotConnectionOwnerException
   (
      Throwable rootException
   )
   {
      super(rootException);
   }

   /**
    * Constructs a NotConnectionOwnerException with a specified detail message
    * and a root-cause exception. The root-cause exception can be
    * retrieved using getRootCause().
    *
    * @param s The detail message describing the exception.
    * @param rootException The root-cause exception.
    */
   public NotConnectionOwnerException
   (
      String s,
      Throwable rootException
   )
   {
      super(s, rootException);
   }
}

