public class UnavailableDeviceException extends DeviceException
DeviceManager
to indicate that a device cannot be open because it
is already open or that a device cannot be acquired for exclusive access.Constructor and Description |
---|
UnavailableDeviceException()
Constructs a new
UnavailableDeviceException instance with null as its
detailed reason message. |
UnavailableDeviceException(java.lang.String message)
Constructs a new
UnavailableDeviceException instance with the specified detailed
reason message. |
public UnavailableDeviceException()
UnavailableDeviceException
instance with null
as its
detailed reason message.public UnavailableDeviceException(java.lang.String message)
UnavailableDeviceException
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