View Single Post
  #2   Spotlight this post!  
Unread 14-02-2012, 23:31
Ziv Ziv is offline
Has code to be writing...
FRC #0125 (Nutrons)
Team Role: Alumni
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Boston
Posts: 39
Ziv is a glorious beacon of lightZiv is a glorious beacon of lightZiv is a glorious beacon of lightZiv is a glorious beacon of lightZiv is a glorious beacon of light
Re: Sample Vision Code Error

Look right below image.free()...

Code:
//            } catch (AxisCameraException ex) {        // this is needed if the camera.getImage() is called
//                ex.printStackTrace();
The compiler is complaining that you're not catching a possible exception. Uncommenting the above lines should get your code to work. If you want to learn more about exceptions, check out Oracle's lesson or any one of many other internet resources.