java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.minidns.dnsname.InvalidDnsNameException
org.minidns.dnsname.InvalidDnsNameException.LabelTooLongException
- All Implemented Interfaces:
Serializable
- Enclosing class:
InvalidDnsNameException
Exception thrown when a DNS label exceeds the maximum allowed length.
DNS labels are limited to 63 characters according to DNS specifications.
DNS labels are limited to 63 characters according to DNS specifications.
- See Also:
Nested Class Summary
Nested classes/interfaces inherited from class InvalidDnsNameException
InvalidDnsNameException.DNSNameTooLongException, InvalidDnsNameException.LabelTooLongExceptionModifier and TypeClassDescriptionstatic classException thrown when a DNS name exceeds the maximum allowed length.
DNS names are limited to 255 octets according to DNS specifications.static classException thrown when a DNS label exceeds the maximum allowed length.
DNS labels are limited to 63 characters according to DNS specifications.Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe specific label that exceeds the maximum lengthprivate static final longPinned for serialized-form compatibility.Fields inherited from class InvalidDnsNameException
aceConstructor Summary
ConstructorsConstructorDescriptionLabelTooLongException(String ace, String label) Creates a new LabelTooLongException.Method Summary
All MethodsModifier and TypeMethodDescriptionThe specific label that was too long, with the ACE-encoded name and the maximum length in octets.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Field Details
serialVersionUID
private static final long serialVersionUIDPinned for serialized-form compatibility.- See Also:
label
The specific label that exceeds the maximum length
Constructor Details
LabelTooLongException
Method Details
getMessage
The specific label that was too long, with the ACE-encoded name and the maximum length in octets.- Overrides:
getMessagein classThrowable