Package com.iizix.urn
Class MalformedURNException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.urn.URNException
com.iizix.urn.MalformedURNException
- All Implemented Interfaces:
Serializable
Exception thrown when the URN is invalid.
- Author:
- Christopher Mindus
- See Also:
Constructor Summary
ConstructorDescriptionMalformedURNException
(String msg, 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
MalformedURNException
Constructs the exception with the URN string.- Parameters:
msg
- The message.urn
- The URN string.
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
).