Skip to content

Instantly share code, notes, and snippets.

@akihisa-shimada
Created August 24, 2023 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akihisa-shimada/9b2cfd334368a490e7e02f2c2d6ae0e9 to your computer and use it in GitHub Desktop.
Save akihisa-shimada/9b2cfd334368a490e7e02f2c2d6ae0e9 to your computer and use it in GitHub Desktop.
package com.example.proto.grpc.exception.message;
import org.springframework.lang.Nullable;
import java.util.Locale;
/**
* テンプレート化されたメッセージの変換を扱います
*/
public interface MessageResolver {
String getMessage(String code, @Nullable Object[] args);
Locale getLocale();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment