public class InvalidWordLengthException extends RuntimeException
SPIDevice
in case of mismatch between the length of data to be exchanged and the
slave's word length as indicated by SPIDevice.getWordLength
.Constructor and Description |
---|
InvalidWordLengthException()
Constructs a new
InvalidWordLengthException with null as its detailed reason message. |
InvalidWordLengthException(String message)
Constructs a new
InvalidWordLengthException with the specified detail message. |
getMessage, initCause, printStackTrace, printStackTrace, toString
public InvalidWordLengthException()
InvalidWordLengthException
with null
as its detailed reason message.public InvalidWordLengthException(String message)
InvalidWordLengthException
with the specified detail message. The error message string
message
can later be retrieved by the getMessage
method.message
- the detailed reason of the exception (may be null
).