Oracle Java Wireless Client

com.oracle.deviceaccess.spibus
Class InvalidWordLengthException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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().


Constructor Summary
InvalidWordLengthException()
          Constructs a InvalidWordLengthException with null as its error detail message.
InvalidWordLengthException(java.lang.String reason)
          Constructs a InvalidWordLengthException with the specified detail message.
 
Method Summary
 
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
 

Constructor Detail

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

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.