# Exception

## class ProcessException

```cangjie
public class ProcessException <: IOException {
    public init(message: String)
}
```

Function: The exception class of the `process` package.

Parent Type:

- [IOException](../../io/io_package_api/io_package_exceptions.md#class-ioexception)

### init(String)

```cangjie
public init(message: String)
```

Function: Creates a [ProcessException](process_package_exceptions.md#class-processexception) instance.

Parameters:

- message: [String](../../core/core_package_api/core_package_structs.md#struct-string) - The exception message.