Oracle Java Wireless Client

com.oracle.deviceaccess
Class InvalidOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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.
 
Method Summary
 
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
 

Constructor Detail

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

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.