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

ml.comet.experiment.impl.rest.CometWebJavaSdkException Maven / Gradle / Ivy

There is a newer version: 1.1.14
Show newest version
package ml.comet.experiment.impl.rest;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CometWebJavaSdkException extends CometWebException {
    @SuppressWarnings("checkstyle:MemberName")
    private int sdk_error_code;

    public CometWebJavaSdkException(int code, String msg, int sdkErrorCode) {
        super(code, msg);
        this.sdk_error_code = sdkErrorCode;
    }

    public int getSdkErrorCode() {
        return sdk_error_code;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy