org.msgpack.core
Class MessageIntegerOverflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.msgpack.core.MessagePackException
org.msgpack.core.MessageTypeException
org.msgpack.core.MessageOverflowException
org.msgpack.core.MessageIntegerOverflowException
- All Implemented Interfaces:
- java.io.Serializable
public class MessageIntegerOverflowException
- extends MessageOverflowException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MessageIntegerOverflowException
public MessageIntegerOverflowException(java.math.BigInteger bigInteger)
MessageIntegerOverflowException
public MessageIntegerOverflowException(long value)
MessageIntegerOverflowException
public MessageIntegerOverflowException(java.lang.String message,
java.math.BigInteger bigInteger)
getBigInteger
public java.math.BigInteger getBigInteger()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable