SunSPOT API V3.0


com.sun.spot.peripheral
Class TimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.sun.spot.peripheral.TimeoutException

public class TimeoutException
extends IOException

Thrown when an attempt to receive data over either a "radiostream:" or "radiogram:" connection fails due to a read timeout being exceeded.

See Also:
ITimeoutableConnection

Constructor Summary
TimeoutException(String msg)
          Construct exception with given 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

TimeoutException

public TimeoutException(String msg)
Construct exception with given message.

Parameters:
msg - the exception message

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.