Package com.iizix.urn
Class URNException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.urn.URNException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MalformedURNException
,NIDException
,NSSException
,UnknownNIDException
Base exceptions thrown for the URN's.
- Author:
- Christopher Mindus
- See Also:
Constructor Summary
ConstructorDescriptionURNException
(String message, String urn) 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
URNException
Constructs the exception with the URN string.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by thegetMessage()
method.urn
- The URN string.
Method Details
getMessage
Returns the detail message string of this throwable.- Overrides:
getMessage
in classThrowable
- Returns:
- the detail message string of this
Throwable
instance (which may benull
).