BenQ Mobile

javax.bluetooth
Class BluetoothStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjavax.bluetooth.BluetoothStateException
All Implemented Interfaces:
java.io.Serializable

public class BluetoothStateException
extends java.io.IOException

The BluetoothStateException is thrown when a request is made to the Bluetooth system that the system cannot support in its present state. If, however, the Bluetooth system was not in this state, it could support this operation. For example, some Bluetooth systems do not allow the device to go into inquiry mode if a connection is established. This exception would be thrown if startInquiry() were called.

Version:
1.0 February 11, 2002
See Also:
Serialized Form

Constructor Summary
BluetoothStateException()
          Creates a new BluetoothStateException without a detail message.
BluetoothStateException(java.lang.String msg)
          Creates a BluetoothStateException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BluetoothStateException

public BluetoothStateException()
Creates a new BluetoothStateException without a detail message.


BluetoothStateException

public BluetoothStateException(java.lang.String msg)
Creates a BluetoothStateException with the specified detail message.

Parameters:
msg - the reason for the exception

BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.