public class ClosedDeviceException extends DeviceException
Constructor and Description |
---|
ClosedDeviceException()
Constructs a new
ClosedDeviceException instance with null as
its detailed reason message. |
ClosedDeviceException(String message)
Constructs a new
ClosedDeviceException instance with the specified
detailed reason message. |
getMessage, initCause, printStackTrace, printStackTrace, toString
public ClosedDeviceException()
ClosedDeviceException
instance with null
as
its detailed reason message.public ClosedDeviceException(String message)
ClosedDeviceException
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 (may be null
).