Package com.iizix.urn
Class UnknownNIDException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.urn.URNException
com.iizix.urn.UnknownNIDException
- All Implemented Interfaces:
Serializable
Exception thrown when the URN Naming ID (NID) is not recognized.
- Author:
- Christopher Mindus
- See Also:
Constructor Summary
ConstructorDescriptionUnknownNIDException
(String urn, String nid) Constructs the exception with the URN string.Method Summary
Modifier and TypeMethodDescriptionReturns 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
Constructor Details
UnknownNIDException
Constructs the exception with the URN string.- Parameters:
urn
- The URN string.nid
- The parsed NID.
Method Details
getMessage
Returns the detail message string of this throwable.- Overrides:
getMessage
in classURNException
- Returns:
- the detail message string of this
Throwable
instance (which may benull
).