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

com.hubspot.chrome.devtools.client.core.runtime.ExceptionThrownEvent Maven / Gradle / Ivy

There is a newer version: 94.0.4606.61
Show newest version
package com.hubspot.chrome.devtools.client.core.runtime;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;

/**
 * Issued when exception was thrown and unhandled.
 */
public final class ExceptionThrownEvent extends Event {
  private Timestamp timestamp;

  private ExceptionDetails exceptionDetails;

  @JsonCreator
  public ExceptionThrownEvent(@JsonProperty("timestamp") Timestamp timestamp,
      @JsonProperty("exceptionDetails") ExceptionDetails exceptionDetails) {
    this.timestamp = timestamp;
    this.exceptionDetails = exceptionDetails;
  }

  public Timestamp getTimestamp() {
    return timestamp;
  }

  public ExceptionDetails getExceptionDetails() {
    return exceptionDetails;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy