javax.comm
Class PortInUseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.comm.PortInUseException
All Implemented Interfaces:
java.io.Serializable

public class PortInUseException
extends java.lang.Exception

Thrown when the specified port is in use.

Author:
Jagane Sundar
See Also:
CommPort, CommPortIdentifier, Serialized Form

Field Summary
 java.lang.String currentOwner
          Describes the current owner of the communications port.
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
(package private) PortInUseException(java.lang.String owner)
          Constructs a PortInUseException with message that identifies the owner.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

currentOwner

public java.lang.String currentOwner
Describes the current owner of the communications port.

Since:
CommAPI 1.1
Constructor Detail

PortInUseException

PortInUseException(java.lang.String owner)
Constructs a PortInUseException with message that identifies the owner.

Parameters:
owner - String The detail message.