Comment #5 on issue 96 by allain.lalonde: More consistent handling of  
NonInvertible transforms in PCamera
http://code.google.com/p/piccolo2d/issues/detail?id=96

Because it's generally considered to be a code smell (not being a smart  
ass).

Also, it's useful to do so since we can make the errant transform  
accessible from the
exception.  So, if a coder wants to handle the exception more appropriately  
than just
to bury it, they can examine the transform and respond.

Also, it makes it easier to distinguish the type of the exception without  
having to
examine the exceptions properties. So, we don't treat divide by zero  
accidentally as
a transform exception.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to