java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.minidns.dnsname.InvalidDnsNameException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidDnsNameException.DNSNameTooLongException, InvalidDnsNameException.LabelTooLongException
Exception for invalid DNS names.
- See Also:
Nested Class Summary
Nested ClassesModifier 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 TypeFieldDescriptionprotected final Stringthe ACE-encoded domain nameprivate static final longPinned for serialized-form compatibility.Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRemember the offending name so the message can quote it.Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Field Details
serialVersionUID
private static final long serialVersionUIDPinned for serialized-form compatibility.- See Also:
ace
the ACE-encoded domain name
Constructor Details
InvalidDnsNameException
Remember the offending name so the message can quote it.- Parameters:
ace- the ASCII-encoded domain name