java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.minidns.dnslabel.DnsLabel.LabelToLongException
- All Implemented Interfaces:
Serializable
- Enclosing class:
DnsLabel
Thrown when a DNS label exceeds the maximum length.
- See Also:
Field Summary
Modifier and TypeFieldDescriptionfinal StringThe DNS label that caused this exceptionprivate static final longSerial Version UID.Constructor Summary
ConstructorsConstructorDescriptionLabelToLongException(String label) Creates a new LabelToLongException for the specified label.Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Field Details
serialVersionUID
label
The DNS label that caused this exception
Constructor Details
LabelToLongException
LabelToLongException(String label) Creates a new LabelToLongException for the specified label.- Parameters:
label- the DNS label that exceeds the maximum length