Package org.apache.qpid.protonj2.buffer
Class ProtonBufferReadOnlyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.apache.qpid.protonj2.buffer.ProtonBufferReadOnlyException
- All Implemented Interfaces:
Serializable
Proton Buffer related error that indicates that the buffer is read-only
and cannot be accessed for any further buffer write operations.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs an ProtonBufferReadOnlyException with a default message.ProtonBufferReadOnlyException
(String message) Constructs an ProtonBufferReadOnlyException with the specified error message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtonBufferReadOnlyException
public ProtonBufferReadOnlyException()Constructs an ProtonBufferReadOnlyException with a default message. -
ProtonBufferReadOnlyException
Constructs an ProtonBufferReadOnlyException with the specified error message.- Parameters:
message
- the String that contains a detailed message
-