net.opentsdb.uid
Class NoSuchUniqueName

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.util.NoSuchElementException
                  extended by 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

Constructor Summary
NoSuchUniqueName(String kind, String name)
          Constructor.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.