public class UnavailablePeripheralException extends PeripheralException
PeripheralManager
to indicate that a peripheral cannot be open because it
is already open or that a peripheral cannot be acquired for exclusive access.Constructor and Description |
---|
UnavailablePeripheralException()
Constructs a new
UnavailablePeripheralException instance with null as its
detailed reason message. |
UnavailablePeripheralException(java.lang.String message)
Constructs a new
UnavailablePeripheralException instance with the specified detailed
reason message. |
public UnavailablePeripheralException()
UnavailablePeripheralException
instance with null
as its
detailed reason message.public UnavailablePeripheralException(java.lang.String message)
UnavailablePeripheralException
instance with the specified detailed
reason message. The error message string message
can later be retrieved by the
getMessage
method.message
- the detailed reason of the exception.Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices