File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
errors/src/main/java/com/palantir/remoting/api/errors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ String getExceptionClass() {
8686 * @deprecated Used by the serialization-mechanism for back-compat only. Do not use.
8787 */
8888 @ Deprecated
89- @ Value .Derived
89+ @ Value .Default
9090 @ JsonProperty ("message" )
9191 @ SuppressWarnings ("checkstyle:designforextension" )
9292 // TODO(rfink): Remove once all error producers have switched to errorName.
@@ -115,12 +115,12 @@ public static SerializableError forException(ServiceException exception) {
115115 // TODO(rfink): Remove once all error producers have switched to errorCode/errorName.
116116 public static final class Builder extends ImmutableSerializableError .Builder {
117117 @ JsonProperty ("exceptionClass" )
118- Builder exceptionClass (String exceptionClass ) {
118+ Builder doNotUseExceptionClass (String exceptionClass ) {
119119 return errorCode (exceptionClass );
120120 }
121121
122122 @ JsonProperty ("message" )
123- Builder message (String message ) {
123+ Builder doNotUseMessage (String message ) {
124124 return errorName (message );
125125 }
126126 }
You can’t perform that action at this time.
0 commit comments