# io.github.libtmux.exception.CardinalityException

- **Module:** io.github.libtmux.exception
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux/src/main/java/io/github/libtmux/exception/CardinalityException.java#L8
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-exception-cardinalityexception-cardinalityexception/

A lookup that required exactly one match, or at most one, did not get it.

Loosen or tighten the filter, or handle the case explicitly.

## Members

### Common operations

- `MultipleMatches` (class): More than one thing matched where the caller required at most one.
- `NoMatch` (class): Nothing matched where the caller required something.

### Other members

- `CardinalityException` (method)
