public class InvalidStateException
extends java.lang.RuntimeException
Peripheral to indicate that an operation as been attempted
at an inappropriate time. In other words, the peripheral device is not in an appropriate
state for the requested operation.| Constructor and Description |
|---|
InvalidStateException()
Constructs a new
InvalidStateException with null
as its detailed reason message. |
InvalidStateException(java.lang.String message)
Constructs a new
InvalidStateException with the specified
detail message. |
public InvalidStateException()
InvalidStateException with null
as its detailed reason message.public InvalidStateException(java.lang.String message)
InvalidStateException with the specified
detail message. The error message string message can later be
retrieved by the Throwable.getMessage() method.message - the detailed reason of the exception