Class MessageIntegerOverflowException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MessageIntegerOverflowException
    extends MessageTypeException
    This error is thrown when the user tries to read an integer value using a smaller types. For example, calling MessageUnpacker.unpackInt() for an integer value that is larger than Integer.MAX_VALUE will cause this exception.
    See Also:
    Serialized Form
    • Constructor Detail

      • MessageIntegerOverflowException

        public MessageIntegerOverflowException​(java.math.BigInteger bigInteger)
      • MessageIntegerOverflowException

        public MessageIntegerOverflowException​(long value)
      • MessageIntegerOverflowException

        public MessageIntegerOverflowException​(java.lang.String message,
                                               java.math.BigInteger bigInteger)
    • Method Detail

      • getBigInteger

        public java.math.BigInteger getBigInteger()
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable