merlinvn / controlp5

Automatically exported from code.google.com/p/controlp5
0 stars 0 forks source link

Suggestion: Disable ControlBroadcaster #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am a huge fan of ControlP5 but as far as I can tell there is no way to 
disable ControlP5 from throwing exceptions to unrelated errors that are 
triggered by a controller. 

"An error occured while forwarding a Controller event to a function inside your 
program. Please check your code for any possible errors that might occur in 
this method such as e.g. casting errors, potential nullpointers, array 
overflows ... this is most probably not a ControlP5 error. method: " 
theMethod.getName() "exception: " theException);

I often receive this message instead of whatever my ide would normally spit out 
which does not provide the line of code that is causing the error making 
debugging much more difficult, I would really appreciate the ability to disable 
ControlP5 from throwing these exceptions.

Original issue reported on code.google.com by robincwi...@gmail.com on 18 Sep 2011 at 9:30

GoogleCodeExporter commented 8 years ago
adding setPrintStackTrace(boolean) and ignoreErrorMessage(boolean) to 
ControlBroadcaster so that the addressed issue can be disabled/enabled. By 
default the stacktrace is enabled.

Original comment by soj...@gmail.com on 7 Oct 2011 at 1:26