com.oracle.deviceaccess.spibus
Class InvalidWordLengthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oracle.deviceaccess.spibus.InvalidWordLengthException
public class InvalidWordLengthException
- extends java.lang.RuntimeException
Thrown by an instance of SPISlave in case of mismatch between the length
of data to be exchanged and the slave's word length as indicated
by SPISlave.getWordLength().
| Methods inherited from class java.lang.Throwable |
getMessage, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidWordLengthException
public InvalidWordLengthException()
- Constructs a InvalidWordLengthException with null
as its error detail message.
InvalidWordLengthException
public InvalidWordLengthException(java.lang.String reason)
- Constructs a InvalidWordLengthException with the specified
detail message. The error message string s can later be
retrieved by the Throwable.getMessage() method of class
java.lang.Throwable
- Parameters:
reason - the detailed reason of the exception
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.