|
Re: Camera Programming
camera.getImage() can cause errors (think about if you tried to fetch an image that didn't exist) so you need to surround it with a
try{
//getImage
}
catch (Exception e){
//insert code to log error here, if wanted
//handle the error by notifying the user to fix what ever is throwing the //error.
}
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks
|