it.gerdavax.android.bluetooth
Class BluetoothException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by it.gerdavax.android.bluetooth.BluetoothException
All Implemented Interfaces:
java.io.Serializable

public class BluetoothException
extends java.lang.Exception

Signals a general, Bluetooth-related error.

Since:
0.3
Author:
Stefano Sanna - gerdavax@gmail.com - http://www.gerdavax.it
See Also:
Serialized Form

Constructor Summary
BluetoothException(java.lang.String message)
          Constructs an BluetoothException with given error detail message.
BluetoothException(java.lang.String message, java.lang.Throwable t)
          Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
BluetoothException(java.lang.Throwable t)
          Constructs a new BluetoothException with the specified cause
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BluetoothException

public BluetoothException(java.lang.Throwable t)
Constructs a new BluetoothException with the specified cause

Parameters:
t - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

BluetoothException

public BluetoothException(java.lang.String message)
Constructs an BluetoothException with given error detail message.


BluetoothException

public BluetoothException(java.lang.String message,
                          java.lang.Throwable t)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
t - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)