Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-java

UnsupportedFeatureException

The running tmux does not have something the call asked for.

Source and package
Qualified name
io.github.libtmux.exception.UnsupportedFeatureException
Package
io.github.libtmux.exception
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/exception/UnsupportedFeatureException.java
class io.github.libtmux.exception.UnsupportedFeatureException

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 TmuxVersion here 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 required or newer, on a server running running.
Esc
Search in

Type to search.

Reference previewOpen reference