Class MessageEncodingException

All Implemented Interfaces:
Serializable

@Deprecated public final class MessageEncodingException extends RuntimeException
Deprecated.
This exception type was thrown only by ProtoBufSerializationProviderBuilder that was deprecated and will be removed in future releases. Use SerializationException instead that can be thrown by a new implementation.
Exception thrown when a message was encoded with an unsupported encoder.
See Also:
  • Constructor Details

    • MessageEncodingException

      public MessageEncodingException(String encoding)
      Deprecated.
      New instance.
      Parameters:
      encoding - the name of the encoding used
    • MessageEncodingException

      public MessageEncodingException(String encoding, Throwable cause)
      Deprecated.
      New instance.
      Parameters:
      cause - for this exception.
      encoding - the name of the encoding used
    • MessageEncodingException

      public MessageEncodingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String encoding)
      Deprecated.
      New instance.
      Parameters:
      message - for the exception.
      cause - for this exception.
      enableSuppression - whether or not suppression is enabled or disabled.
      writableStackTrace - whether or not the stack trace should be writable.
      encoding - the name of the encoding used
  • Method Details

    • encoding

      public String encoding()
      Deprecated.
      The name of the encoding used when the Exception was thrown.
      Returns:
      the name of the encoding used when the Exception was thrown