Package com.iizix.urn
Class NSSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.urn.URNException
com.iizix.urn.NSSException
- All Implemented Interfaces:
Serializable
Exception thrown when the Name String Specification is in error for an URN.
- Author:
- Christopher Mindus
- See Also:
Constructor Summary
ConstructorDescriptionNSSException
(String message, String urn, String nss) Constructs the exception with the URN string.NSSException
(String message, String urn, String nss, 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
NSSException
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nss
- The parsed NSS.
NSSException
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nss
- The parsed NSS.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
).