Package com.iizix.urn

Class UnknownNIDException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnknownNIDException
    extends URNException
    Exception thrown when the URN Naming ID (NID) is not recognized.
    Author:
    Christopher Mindus
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ConstructorDescription
      UnknownNIDException​(java.lang.String urn, java.lang.String nid)
      Constructs the exception with the URN string.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetMessage()
      Returns the detail message string of this throwable.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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

      • UnknownNIDException

        public UnknownNIDException​(java.lang.String urn,
                                   java.lang.String nid)
        Constructs the exception with the URN string.
        Parameters:
        urn - The URN string.
        nid - The parsed NID.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns the detail message string of this throwable.
        Overrides:
        getMessage in class URNException
        Returns:
        the detail message string of this Throwable instance (which may be null).