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

# catch_exception_raise_state

## Declaration

```occ
kern_return_t catch_exception_raise_state(mach_port_t exception_port, exception_type_t exception, const exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, const thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt);
```

## See Also

### Exceptions

- [catch_exception_raise](kernel/1537287-catch_exception_raise.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)
