net.opentsdb.uid
public final class NoSuchUniqueId extends NoSuchElementException
UniqueId
,
Serialized FormConstructor and Description |
---|
NoSuchUniqueId(String kind,
byte[] id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
id()
Returns the unique ID that couldn't be found.
|
String |
kind()
Returns the kind of unique ID that couldn't be found.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoSuchUniqueId(String kind, byte[] id)
kind
- The kind of unique ID that triggered the exception.id
- The ID that couldn't be found.public String kind()
public byte[] id()