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

io.relayr.java.model.json.JsonError Maven / Gradle / Ivy

package io.relayr.java.model.json;

import java.io.Serializable;

public class JsonError implements Serializable {

    private String title;
    private String message;
    private String details;
    private String errorId;

    public String getMessage() {
        return message != null ? message : title;
    }

    public String getDetails() {
        return details;
    }

    public String getErrorId() {
        return errorId;
    }

    @Override public String toString() {
        return "JsonError{" +
                "title='" + title + '\'' +
                ", message='" + message + '\'' +
                ", details='" + details + '\'' +
                ", errorId='" + errorId + '\'' +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy