@JsonIgnore public StatusCode(CodeEnum code, String... paramDetail) { this.code = code.getLabel(); this.reasonPhrase = code.getShortPhrase(); this.detail = String.format(code.getLongPhrase(), paramDetail); }
@JsonIgnore public StatusCode(CodeEnum code, String... paramDetail) { this.code = code.getLabel(); this.reasonPhrase = code.getShortPhrase(); this.detail = String.format(code.getLongPhrase(), paramDetail); }