Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

io.github.libtmux.UnsupportedTmuxVersionException.UnsupportedTmuxVersionException

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.UnsupportedTmuxVersionException
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/UnsupportedTmuxVersionException.java
class io.github.libtmux.UnsupportedTmuxVersionException.UnsupportedTmuxVersionException
classreadonly [source]
classreadonly [source]
class io.github.libtmux.UnsupportedTmuxVersionException.UnsupportedTmuxVersionException

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

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.

Its own type so a caller who can do without the feature can catch exactly this, rather than matching on a message. 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, and no caller has needed to read them apart from the text.

1 declared, 0 inherited

Members

Esc

Type to search.