UnsupportedFeatureException
The running tmux does not have something the call asked for.
Source and package
- Qualified name
-
io.github .libtmux .exception. Unsupported Feature Exception - Package
- io.github.libtmux.exception
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/exception/UnsupportedFeatureException.java
-
Description
Raised instead of dropping the option. The Python sibling warns and carries on, which returns a pane that differs from the one described in a way nothing downstream can detect; a caller who asked for an empty pane and got a shell has no way to notice before something runs in it. Skip the feature, or require a newer tmux.
The same type reports a tmux older than
TmuxVersion#MINIMUM, which no call can do without. Test#belowFloor()before treating a failure as an optional feature that can be skipped.The feature and the versions are in the message and not in accessors: a throwable is serializable, so exposing a
TmuxVersionhere would mean making that serializable too.
Members3 members
- belowFloor Whether the tmux is older than
TmuxVersion#MINIMUM, so that nothing this library does can work on it, as opposed to one optional feature being missing from a tmux that is otherwise supported. Upgrade tmux, or use an earlier libtmux release; there is nothing to do without. - tmuxBelowFloor A tmux older than
TmuxVersion#MINIMUM, which this library does not support at all. - UnsupportedFeatureException A feature that needs
requiredor newer, on a server runningrunning.