Class MessageSizeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MessageSizeException
    extends MessagePackException
    Thrown to indicate too large message size (e.g, larger than 2^31-1).
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getSize()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MessageSizeException

        public MessageSizeException​(long size)
      • MessageSizeException

        public MessageSizeException​(java.lang.String message,
                                    long size)
    • Method Detail

      • getSize

        public long getSize()