Class CodedOutputStream.OutOfSpaceException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    CodedOutputStream

    public static class CodedOutputStream.OutOfSpaceException
    extends java.io.IOException
    If you create a CodedOutputStream around a simple flat array, you must not attempt to write more bytes than the array has space. Otherwise, this exception will be thrown.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String MESSAGE  
      private static long serialVersionUID  
    • Method Summary

      • 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

      • OutOfSpaceException

        OutOfSpaceException()
      • OutOfSpaceException

        OutOfSpaceException​(java.lang.String explanationMessage)
      • OutOfSpaceException

        OutOfSpaceException​(java.lang.Throwable cause)
      • OutOfSpaceException

        OutOfSpaceException​(java.lang.String explanationMessage,
                            java.lang.Throwable cause)
      • OutOfSpaceException

        OutOfSpaceException​(int position,
                            int limit,
                            int length)
      • OutOfSpaceException

        OutOfSpaceException​(int position,
                            int limit,
                            int length,
                            java.lang.Throwable cause)
      • OutOfSpaceException

        OutOfSpaceException​(long position,
                            long limit,
                            int length)
      • OutOfSpaceException

        OutOfSpaceException​(long position,
                            long limit,
                            int length,
                            java.lang.Throwable cause)