It's entirely possible that moteIF doesn't throw any Exceptions.
You will probably have to dig through it's code to see, but for
the most part the compiler should whine if they exist and are not
caught. Or was the question about how to use try-catch itself?
MS
ZhuoHao Sum wrote:
Hi,
I'm working on tinyos and SF stuff..
I'm writing an application to connect using SF. Anyone knows how I can
implement a try catch with the instantiation of moteIF?
thks & regards,
ZHuoHao
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help