Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.clustermate.service.msg;
Base class used by various response messages (mostly errors, but not just them) used with main CRD operations (single-entry create/retrive/delete) used so caller can try to extract more specific error information, beyond HTTP status code.
@JsonPropertyOrder({ "message""key" })
public class CRUDResponseBase<K extends EntryKey>
    public String key;
    public String message;
    protected CRUDResponseBase() { }
    protected CRUDResponseBase(K key) {
    protected CRUDResponseBase(K keyString message) {
        this. = (key == null) ? "" : key.toString();
        this. = message;
New to GrepCode? Check out our FAQ X