Package com.iizix.urn
Class NIDException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.urn.URNException
com.iizix.urn.NIDException
- All Implemented Interfaces:
Serializable
Exception thrown when the Naming ID (NID) fails parsing.
- Author:
- Christopher Mindus
- See Also:
Constructor Summary
ConstructorDescriptionNIDException
(String message, String urn, NID nid) Constructs the exception with the URN string.NIDException
(String message, String urn, NID nid, Throwable cause) Constructs the exception with the URN string.NIDException
(String message, String urn, String nid) Constructs the exception with the URN string.NIDException
(String message, String urn, String nid, Throwable cause) 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
NIDException
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nid
- The parsed NID.
NIDException
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nid
- The NID.
NIDException
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nid
- The NID.cause
- The exception cause,null for none
.
NIDException
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nid
- The parsed NID.cause
- The exception cause,null for none
.
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
).