public class InvalidOperationException
extends java.lang.RuntimeException
Peripheral
to indicate that an attempted operation is not allowed for the
peripheral.Constructor and Description |
---|
InvalidOperationException()
Constructs a new
InvalidOperationException with null as its detailed reason message. |
InvalidOperationException(java.lang.String message)
Constructs a new
InvalidOperationException with the specified detail message. |
public InvalidOperationException()
InvalidOperationException
with null
as its detailed reason message.public InvalidOperationException(java.lang.String message)
InvalidOperationException
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 exceptionCopyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.