public class MacFormatException extends BLApiRuntimeException
MacFormatException is thrown where the MAC address String /
bytes array specified does not have a valid format. (Total 48 bit / 6 bytes
00:00:00:00:00:00)| Constructor and Description |
|---|
MacFormatException(byte[] bytes)
Creates the exception with a "Incorrect MAC address bytes"
|
MacFormatException(String arg0)
Creates the exception with a "Invalid MAC address String format" message.
|
MacFormatException(String arg0,
Throwable arg1)
Creates the exception with a "Invalid MAC address String format" message,
and a
Throwable |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MacFormatException(String arg0)
arg0 - the invalid MAC address Stringpublic MacFormatException(String arg0, Throwable arg1)
Throwablearg0 - the invalid MAC address Stringarg1 - the Throwablepublic MacFormatException(byte[] bytes)
bytes - the bytes array with incorrect length (not equal to 6)Copyright © 2018. All rights reserved.