Package com.google.protobuf
Class CodedOutputStream.OutOfSpaceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.google.protobuf.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
-
Constructor Summary
Constructors Constructor Description OutOfSpaceException()
OutOfSpaceException(int position, int limit, int length)
OutOfSpaceException(int position, int limit, int length, java.lang.Throwable cause)
OutOfSpaceException(long position, long limit, int length)
OutOfSpaceException(long position, long limit, int length, java.lang.Throwable cause)
OutOfSpaceException(java.lang.String explanationMessage)
OutOfSpaceException(java.lang.String explanationMessage, java.lang.Throwable cause)
OutOfSpaceException(java.lang.Throwable cause)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
MESSAGE
private static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
-
-
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)
-
-