java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
inet.ipaddr.AddressValueException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AddressPositionException
,InconsistentPrefixException
,PrefixLenException
Thrown when an address or address component would be too large or small,
when a prefix length is too large or small, or when prefixes across segments are inconsistent.
These exceptions are thrown when constructing new address components.
They are not thrown when parsing strings to construct new address components, in which case AddressStringException
is used instead.
- Author:
- sfoley
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAddressValueException
(long value) AddressValueException
(AddressItem one, AddressItem two) AddressValueException
(AddressItem one, AddressItem two, int count) AddressValueException
(AddressItem one, String key) AddressValueException
(String key, long value) AddressValueException
(BigInteger value) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AddressValueException
public AddressValueException(long value) -
AddressValueException
-
AddressValueException
-
AddressValueException
-
AddressValueException
-
AddressValueException
-