public class ErrorMessageFacade extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Set<Integer> |
allRegisteredErrorCodes() |
static List<ErrorDefinition> |
getAllErrorInfo() |
static String |
getKey(int code) |
static String |
getMessage(int code,
Object... objects) |
static String |
getMessageTemplate(int code) |
static String |
getTemplate(int code) |
static boolean |
register(Class<?> clz) |
public static boolean register(Class<?> clz)
clz - clzpublic static String getMessageTemplate(int code)
public static String getKey(int code)
public static String getTemplate(int code)
public static List<ErrorDefinition> getAllErrorInfo()
Copyright © 2022. All rights reserved.