Advanced exception filter