# zx::exception

## Summary

### Inheritance

Inherits from: [zx::object\< exception \>](https://fuchsia.dev/reference/cpp/class/zx/object)

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1a48c26bcc2e7f2245008a0795956becd4()` ||
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1a4dffdbef12902225c99f0bbf9f05625e(zx_handle_t value)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1a1d0145a8a12614fc83e1a6cc637f408c(https://fuchsia.dev/reference/cpp/class/zx/object#classzx_1_1object && h)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1ad0eea5afc9f86c9edf39246ee61b0381(https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception && other)` ||

| ### Public static attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1af7f6e0cdc93f1be1935e6c0e50cad8fb = ZX_OBJ_TYPE_EXCEPTION` | `constexpr zx_obj_type_t` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1a5be9ff116ab4bf3f6e0719abee5b82bc(https://fuchsia.dev/reference/cpp/class/zx/process#classzx_1_1process *process)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1a6bbabab6fe540066fee3e4a91f21ee75(https://fuchsia.dev/reference/cpp/class/zx/thread#classzx_1_1thread *thread)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception_1aaa150b321fefacc9fb04baeae0605f31(https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception && other)` | `https://fuchsia.dev/reference/cpp/class/zx/exception#classzx_1_1exception &` |

## Public static attributes

### TYPE

```c++
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_EXCEPTION
```

## Public functions

### exception

```c++
constexpr exception()=default
```

### exception

```c++
 exception(
  zx_handle_t value
)
```

### exception

```c++
 exception(
  handle && h
)
```

### exception

```c++
 exception(
  exception && other
)
```

### get_process

```c++
zx_status_t get_process(
  process *process
)
```

### get_thread

```c++
zx_status_t get_thread(
  thread *thread
)
```

### operator=

```c++
exception & operator=(
  exception && other
)
```