public class UnsupportedPeripheralException
extends java.lang.Exception
| Constructor and Description |
|---|
UnsupportedPeripheralException(java.lang.String message,
java.lang.String peripheralName)
Constructs a new exception with the specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPeripheralName()
The name of the peripheral which is not supported
|
public UnsupportedPeripheralException(java.lang.String message,
java.lang.String peripheralName)
Throwable.initCause(java.lang.Throwable).message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.