Add exception handling code in initialization of filters and processors