com.hubspot.chrome.devtools.client.core.runtime.ExceptionThrownEvent Maven / Gradle / Ivy
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;
}
}