-
- 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final BigIntegerbigInteger
-
Constructor Summary
Constructors Constructor Description MessageIntegerOverflowException(BigInteger bigInteger)MessageIntegerOverflowException(long value)MessageIntegerOverflowException(String message, BigInteger bigInteger)
-
Method Summary
Modifier and Type Method Description BigIntegergetBigInteger()StringgetMessage()-
Methods inherited from class com.batch.android.msgpack.core.MessagePackException
UNSUPPORTED -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MessageIntegerOverflowException
MessageIntegerOverflowException(BigInteger bigInteger)
-
MessageIntegerOverflowException
MessageIntegerOverflowException(long value)
-
MessageIntegerOverflowException
MessageIntegerOverflowException(String message, BigInteger bigInteger)
-
-
Method Detail
-
getBigInteger
BigInteger getBigInteger()
-
getMessage
String getMessage()
-
-
-
-