JacquardError

public abstract exception JacquardError extends Exception

The different errors the SDK can report.

Constructors

Name Description
public JacquardError()

Methods

ofInternalError

public static JacquardError ofInternalError()

ReturnValue

Name Description
JacquardError

ofEmptyResponseError

public static JacquardError ofEmptyResponseError()

ReturnValue

Name Description
JacquardError

ofMalformedResponseError

public static JacquardError ofMalformedResponseError()

ReturnValue

Name Description
JacquardError

ofUnknownCoreBluetoothError

public static JacquardError ofUnknownCoreBluetoothError()

ReturnValue

Name Description
JacquardError

ofBluetoothConnectionError

public static JacquardError ofBluetoothConnectionError(Throwable throwable)

Parameters

Name Description
Throwable throwable

ReturnValue

Name Description
JacquardError

ofBluetoothNotificationUpdateError

public static JacquardError ofBluetoothNotificationUpdateError(Throwable cause)

Parameters

Name Description
Throwable cause

ReturnValue

Name Description
JacquardError

ofServiceDiscoveryError

public static JacquardError ofServiceDiscoveryError()

ReturnValue

Name Description
JacquardError

ofJacquardInitializationError

public static JacquardError ofJacquardInitializationError(Throwable cause)

Parameters

Name Description
Throwable cause

ReturnValue

Name Description
JacquardError

ofBluetoothOffError

public static JacquardError ofBluetoothOffError()

ReturnValue

Name Description
JacquardError

getType

public abstract Type getType()

ReturnValue

Name Description
Type

internalError

public abstract void internalError()

ReturnValue

Name Description
void

emptyResponseError

public abstract void emptyResponseError()

ReturnValue

Name Description
void

malformedResponseError

public abstract void malformedResponseError()

ReturnValue

Name Description
void

unknownCoreBluetoothError

public abstract void unknownCoreBluetoothError()

ReturnValue

Name Description
void

bluetoothConnectionError

public abstract Throwable bluetoothConnectionError()

ReturnValue

Name Description
Throwable

bluetoothNotificationUpdateError

public abstract Throwable bluetoothNotificationUpdateError()

ReturnValue

Name Description
Throwable

bluetoothOffError

public abstract void bluetoothOffError()

ReturnValue

Name Description
void

serviceDiscoveryError

public abstract void serviceDiscoveryError()

ReturnValue

Name Description
void

characteristicDiscoveryError

public abstract void characteristicDiscoveryError()

ReturnValue

Name Description
void

jacquardInitializationError

public abstract Throwable jacquardInitializationError()

ReturnValue

Name Description
Throwable

getMessage

public String getMessage()

ReturnValue

Name Description
String