Class ProtobufTranscodingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.http.exceptions.HttpException
io.micronaut.http.exceptions.HttpStatusException
io.micronaut.protobuf.json.exception.ProtobufTranscodingException
All Implemented Interfaces:
Serializable

public class ProtobufTranscodingException extends io.micronaut.http.exceptions.HttpStatusException
Custom exception for Protobuf transcoding errors.
See Also:
  • Constructor Details

    • ProtobufTranscodingException

      public ProtobufTranscodingException(String message, Throwable e)
      Constructs a new ProtobufTranscodingException with a detailed error message and the underlying cause of the exception.
      This exception is typically thrown when a failure occurs during Protobuf-to-JSON transcoding, often due to serialization issues or invalid input data.
      Parameters:
      message - A detailed message explaining the cause of the exception.
      e - The underlying throwable that triggered this exception.