java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.ahoo.cosid.CosIdException
me.ahoo.cosid.IdOverflowException
- All Implemented Interfaces:
Serializable
An id does not fit where it goes (03-core-model.md ยง5): the narrower type it is converted to, or the bits left
beside the random bits of
IdGenerators.uncertain(me.ahoo.cosid.IdGenerator, int, java.util.random.RandomGenerator).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdOverflowException(long id) The id overflowsint.IdOverflowException(long id, String message) The id overflows, asmessagetells. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IdOverflowException
public IdOverflowException(long id) The id overflowsint.- Parameters:
id- the id
-
IdOverflowException
The id overflows, asmessagetells.- Parameters:
id- the idmessage- the message
-
-
Method Details
-
id
public long id()The id that overflowed.- Returns:
- the id
-