# io.github.libtmux.exception.CommandRejectedException.CommandRejectedException

- **Module:** io.github.libtmux.exception
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux/src/main/java/io/github/libtmux/exception/CommandRejectedException.java#L15
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-exception-commandrejectedexception-commandrejectedexception-commandrejectedexception/

```
io.github.libtmux.exception.CommandRejectedException.CommandRejectedException(message: String)

io.github.libtmux.exception.CommandRejectedException.CommandRejectedException(message: String, command: String, exitCode: int, errorLines: List<String>)
```

A refusal of {@code command}, with tmux's exit status and the lines it printed.
