object StatusCode
Provides factory methods and registry for StatusCode
.
- See also:
- Companion:
- class
Type members
Value members
Concrete methods
Gets registered status code for given value.
Gets registered status code for given value.
- Throws:
- java.util.NoSuchElementException
if value not registered
Gets registered status code for supplied data.
Gets registered status code for supplied data.
- Throws:
- java.lang.IllegalArgumentException
if
data.size != 2
- java.util.NoSuchElementException
if value not registered
- Note:
The data is converted to two-byte unsigned integer, which is then used to obtain status code.