---
title: catch_exception_raise
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: kernel/1537287-catch_exception_raise
---

# catch_exception_raise

## Declaration

```occ
kern_return_t catch_exception_raise(mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt);
```

## See Also

### Exceptions

- [catch_exception_raise_state](kernel/1537255-catch_exception_raise_state.md)
- [catch_exception_raise_state_identity](kernel/1537251-catch_exception_raise_state_iden.md)
- [catch_mach_exception_raise](kernel/1559883-catch_mach_exception_raise.md)
- [catch_mach_exception_raise_state](kernel/1559877-catch_mach_exception_raise_state.md)
- [catch_mach_exception_raise_state_identity](kernel/1559863-catch_mach_exception_raise_state.md)
