# Collision policy error catching on webdev

**URL:** <https://forum.inductiveautomation.com/t/collision-policy-error-catching-on-webdev/55294>\
**Category:** Ignition\
**Tags:** ignition80, ignition81\
**Created:** [January 24, 2022, 4:28am UTC](https://forum.inductiveautomation.com/t/collision-policy-error-catching-on-webdev/55294 "2022-01-24T04:28:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 24, 2022, 3:13pm UTC](https://forum.inductiveautomation.com/t/collision-policy-error-catching-on-webdev/55294/2 "2022-01-24T15:13:14Z")

</div>

Try adding a separate Java exception catch block:

> [@Catch IOException?](https://forum.inductiveautomation.com/t/catch-ioexception/18612/3):
>
> Consider using two except blocks, as jython’s standard Exception won’t catch pure java exceptions. Like so: import java.lang.Exception try: # something something something except Exception, e: # jython exception except java.lang.Exception, e: # java exception

---

_[View the full topic](https://forum.inductiveautomation.com/t/collision-policy-error-catching-on-webdev/55294)._
