add sample for writing filters
add code for Exception Handler