类 Error
java.lang.Object
org.springframework.boot.web.error.Error
- 所有已实现的接口:
MessageSourceResolvable
A wrapper class for
MessageSourceResolvable
errors that is safe for JSON
serialization.- 从以下版本开始:
- 3.5.0
- 作者:
- Yongjun Hong, Phillip Webb
-
方法详细资料
-
getCodes
- 指定者:
getCodes
在接口中MessageSourceResolvable
-
getArguments
- 指定者:
getArguments
在接口中MessageSourceResolvable
-
getDefaultMessage
- 指定者:
getDefaultMessage
在接口中MessageSourceResolvable
-
getCause
Return the original cause of the error.- 返回:
- the error cause
-
equals
-
hashCode
public int hashCode() -
toString
-
wrap
Wrap the given errors.- 参数:
errors
- the errors to wrap- 返回:
- a new Error list
-