public class UnsupportedPeripheralMethodException
extends java.lang.Exception
Constructor and Description |
---|
UnsupportedPeripheralMethodException(java.lang.String message,
java.lang.String methodName,
java.lang.String peripheralName)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName()
The name of the method which is not supported
|
java.lang.String |
getPeripheralName()
The peripheral name on which unsupported method was called
|
public UnsupportedPeripheralMethodException(java.lang.String message, java.lang.String methodName, 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.