Function - Set exception ports for a thread.
kern_return_t thread_set_exception_ports (thread_act_t thread, exception_mask_t exception_types, mach_port_t exception_port, exception_behavior_t behavior, thread_state_flavor_t flavor);