javax.bluetooth
Class BluetoothConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by javax.bluetooth.BluetoothConnectionException
All Implemented Interfaces:
Serializable

public class BluetoothConnectionException
extends IOException

See Also:
Serialized Form

Field Summary
static int FAILED_NOINFO
           
static int NO_RESOURCES
           
static int SECURITY_BLOCK
           
static int TIMEOUT
           
static int UNACCEPTABLE_PARAMS
           
static int UNKNOWN_PSM
           
 
Constructor Summary
BluetoothConnectionException(int error)
           
BluetoothConnectionException(int error, String msg)
           
 
Method Summary
 int getStatus()
           
 
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
 

Field Detail

UNKNOWN_PSM

public static final int UNKNOWN_PSM
See Also:
Constant Field Values

SECURITY_BLOCK

public static final int SECURITY_BLOCK
See Also:
Constant Field Values

NO_RESOURCES

public static final int NO_RESOURCES
See Also:
Constant Field Values

FAILED_NOINFO

public static final int FAILED_NOINFO
See Also:
Constant Field Values

TIMEOUT

public static final int TIMEOUT
See Also:
Constant Field Values

UNACCEPTABLE_PARAMS

public static final int UNACCEPTABLE_PARAMS
See Also:
Constant Field Values
Constructor Detail

BluetoothConnectionException

public BluetoothConnectionException(int error)

BluetoothConnectionException

public BluetoothConnectionException(int error,
                                    String msg)
Method Detail

getStatus

public int getStatus()


Copyright © 2006-2007 Jayway AB. All Rights Reserved.