org.gs4tr.gcc.restclient.request.TaskErrorRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gcc-restclient Show documentation
Show all versions of gcc-restclient Show documentation
GlobalLink Connect Cloud java is a library to connect your system to GlobalLink Connect Cloud REST API.
package org.gs4tr.gcc.restclient.request;
import com.fasterxml.jackson.annotation.JsonProperty;
public class TaskErrorRequest extends TaskRequest {
@JsonProperty("error_message")
private String errorMessage;
@JsonProperty("error_stacktrace")
private String errorStacktrace;
public TaskErrorRequest(Long taskId, String errorMessage, String errorStacktrace) {
super(taskId);
this.errorMessage = errorMessage;
this.errorStacktrace = errorStacktrace;
}
}