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:
java.io.Serializable
public class NIDException extends URNException
Exception thrown when the Naming ID (NID) fails parsing.- Author:
- Christopher Mindus
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description NIDException(java.lang.String message, java.lang.String urn, NID nid)
Constructs the exception with the URN string.NIDException(java.lang.String message, java.lang.String urn, NID nid, java.lang.Throwable cause)
Constructs the exception with the URN string.NIDException(java.lang.String message, java.lang.String urn, java.lang.String nid)
Constructs the exception with the URN string.NIDException(java.lang.String message, java.lang.String urn, java.lang.String nid, 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
NIDException
public NIDException(java.lang.String message, java.lang.String urn, java.lang.String nid)
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nid
- The parsed NID.
NIDException
public NIDException(java.lang.String message, java.lang.String urn, NID nid)
Constructs the exception with the URN string.- Parameters:
message
- The message detail.urn
- The URN string.nid
- The NID.
NIDException
public NIDException(java.lang.String message, java.lang.String urn, NID nid, java.lang.Throwable cause)
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
public NIDException(java.lang.String message, java.lang.String urn, java.lang.String nid, java.lang.Throwable cause)
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 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
).