Package com.iizix.urn

Class URNException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MalformedURNException, NIDException, NSSException, UnknownNIDException

public class URNException extends Exception
Base exceptions thrown for the URN's.
Author:
Christopher Mindus
See Also:
  • Constructor Details

    • URNException

      public URNException(String message, String urn)
      Constructs the exception with the URN string.
      Parameters:
      message - The detail message. The detail message is saved for later retrieval by the getMessage() method.
      urn - The URN string.
  • Method Details

    • getMessage

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