com.oracle.deviceaccess
Class InvalidOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oracle.deviceaccess.InvalidOperationException
public class InvalidOperationException
- extends java.lang.RuntimeException
Thrown by an instance of Peripheral
to indicate that an attempted operation
is not allowed for the peripheral.
Constructor Summary |
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. |
Methods inherited from class java.lang.Throwable |
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidOperationException
public InvalidOperationException()
- Constructs a new
InvalidOperationException
with null
as its detailed reason message.
InvalidOperationException
public InvalidOperationException(java.lang.String message)
- Constructs a new
InvalidOperationException
with the specified
detail message. The error message string message
can later be
retrieved by the Throwable.getMessage()
method.
- Parameters:
message
- the detailed reason of the exception
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.