javax.bluetooth
Class BluetoothStateException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--javax.bluetooth.BluetoothStateException
- public class BluetoothStateException
- extends 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.
- Since:
- JDE 4.2.1
BluetoothStateException
public BluetoothStateException()
- Creates a new
BluetoothStateException without a detail
message.
- Since:
- JDE 4.2.1
BluetoothStateException
public BluetoothStateException(String msg)
- Creates a
BluetoothStateException with the specified
detail message.
- Parameters:
msg - the reason for the exception- Since:
- JDE 4.2.1
Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.