| 程序包 | 说明 |
|---|---|
| org.hswebframework.web.oauth2 |
| 限定符和类型 | 方法和说明 |
|---|---|
static ErrorType |
ErrorType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ErrorType[] |
ErrorType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Optional<ErrorType> |
ErrorType.fromCode(int code) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
ErrorType.throwThis(java.util.function.BiFunction<ErrorType,String,? extends RuntimeException> errorTypeFunction,
String message) |
<T> T |
ErrorType.throwThis(java.util.function.Function<ErrorType,? extends RuntimeException> errorTypeFunction) |
| 构造器和说明 |
|---|
OAuth2Exception(ErrorType type) |
OAuth2Exception(String message,
Throwable cause,
ErrorType type) |
Copyright © 2016–2021. All rights reserved.