[Rxtx] PortInUseException

Trent Jarvi tjarvi at qbang.org
Thu Sep 28 06:51:04 MDT 2006


On Thu, 28 Sep 2006, Dr. Douglas Lyon wrote:

> Hi All,
>
> What is the feeling of the group to Gregg's suggestion
> that PortInUseException be a subclass of the IOException
> class, rather than a subclass of the Exception class?
>

Sounds fine.  The only thing that comes to my mind is this may not only 
show up when calling open.  There is the concept of port ownership in 
commapi with the capability of requesting ports from other owners.

In the case of a PortInUseException potentially comming from trying to 
hijack a port rather than opening the port, an IOException may not be 
intuitive.

--
Trent Jarvi
tjarvi at qbang.org



More information about the Rxtx mailing list