public class ExceptionUtil extends Object
| 构造器和说明 |
|---|
ExceptionUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
main(String[] args) |
static void |
throwException(String str,
PlaceholderStr.Strategy strategy,
String... args) |
static void |
throwException(String str,
ResultCode resultCode,
PlaceholderStr.Strategy strategy,
String... args) |
static void |
throwException(String str,
ResultCode resultCode,
String... args) |
static void |
throwException(String str,
String... args)
抛出异常信息,国际化
|
public static void throwException(String str, ResultCode resultCode, String... args)
public static void throwException(String str, ResultCode resultCode, PlaceholderStr.Strategy strategy, String... args)
public static void throwException(String str, PlaceholderStr.Strategy strategy, String... args)
public static void main(String[] args)
Copyright © 2021. All rights reserved.