net.opentsdb.uid
Class NoSuchUniqueName
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.NoSuchElementException
net.opentsdb.uid.NoSuchUniqueName
- All Implemented Interfaces:
- Serializable
public final class NoSuchUniqueName
- extends NoSuchElementException
Exception used when a name's Unique ID can't be found.
- See Also:
UniqueIdInterface
,
Serialized Form
Method Summary |
String |
kind()
Returns the kind of unique ID that couldn't be found. |
String |
name()
Returns the name for which the unique ID couldn't be found. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchUniqueName
public NoSuchUniqueName(String kind,
String name)
- Constructor.
- Parameters:
kind
- The kind of unique ID that triggered the exception.name
- The name that couldn't be found.
kind
public String kind()
- Returns the kind of unique ID that couldn't be found.
name
public String name()
- Returns the name for which the unique ID couldn't be found.