All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stripe.exception.EventDataObjectDeserializationException Maven / Gradle / Ivy

There is a newer version: 28.1.0-beta.3
Show newest version
package com.stripe.exception;

import com.stripe.model.EventDataObjectDeserializer;
import lombok.Getter;

public class EventDataObjectDeserializationException extends StripeException {
  private static final long serialVersionUID = 2L;

  /**
   * JSON intended as event data object {@link EventDataObjectDeserializer#getObject()} that fails
   * deserialization.
   */
  @Getter private final String rawJson;

  public EventDataObjectDeserializationException(String message, String rawJson) {
    super(message, null, null, null);
    this.rawJson = rawJson;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy