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:
java.io.Serializable
public class NSSException extends URNException
Exception thrown when the Name String Specification is in error for an URN.- Author:
- Christopher Mindus
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description NSSException(java.lang.String message, java.lang.String urn, java.lang.String nss)
Constructs the exception with the URN string.NSSException(java.lang.String message, java.lang.String urn, java.lang.String nss, java.lang.Throwable cause)
Constructs the exception with the URN string.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns the detail message string of this throwable.
Constructor Detail
NSSException
public NSSException(java.lang.String message, java.lang.String urn, java.lang.String nss)
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nss
- The parsed NSS.
NSSException
public NSSException(java.lang.String message, java.lang.String urn, java.lang.String nss, java.lang.Throwable cause)
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 Detail
getMessage
public java.lang.String 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
).