- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- inet.ipaddr.AddressValueException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AddressPositionException
,InconsistentPrefixException
,PrefixLenException
public class AddressValueException extends java.lang.RuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddressValueException(long value)
AddressValueException(AddressItem one, AddressItem two)
AddressValueException(AddressItem one, AddressItem two, int count)
AddressValueException(AddressItem one, java.lang.String key)
AddressValueException(java.lang.String key, long value)
AddressValueException(java.math.BigInteger value)
-
-
-
Constructor Detail
-
AddressValueException
public AddressValueException(long value)
-
AddressValueException
public AddressValueException(java.lang.String key, long value)
-
AddressValueException
public AddressValueException(java.math.BigInteger value)
-
AddressValueException
public AddressValueException(AddressItem one, AddressItem two, int count)
-
AddressValueException
public AddressValueException(AddressItem one, AddressItem two)
-
AddressValueException
public AddressValueException(AddressItem one, java.lang.String key)
-
-