类的使用
org.springframework.beans.factory.parsing.ParseState
使用ParseState的程序包 程序包 说明 org.springframework.beans.factory.parsing Support infrastructure for bean definition parsing.org.springframework.beans.factory.parsing中ParseState的使用
返回ParseState的org.springframework.beans.factory.parsing中的方法 修饰符和类型 方法 说明 ParseState
Problem. getParseState()
Get theParseState
at the time of the error (may benull
).ParseState
ParseState. snapshot()
Create a new instance ofParseState
which is an independent snapshot of this instance.参数类型为ParseState的org.springframework.beans.factory.parsing中的方法 修饰符和类型 方法 说明 void
ReaderContext. error(String message, Object source, ParseState parseState)
Raise a regular error.void
ReaderContext. error(String message, Object source, ParseState parseState, Throwable cause)
Raise a regular error.void
ReaderContext. fatal(String message, Object source, ParseState parseState)
Raise a fatal error.void
ReaderContext. fatal(String message, Object source, ParseState parseState, Throwable cause)
Raise a fatal error.void
ReaderContext. warning(String message, Object source, ParseState parseState)
Raise a non-critical warning.void
ReaderContext. warning(String message, Object source, ParseState parseState, Throwable cause)
Raise a non-critical warning.参数类型为ParseState的org.springframework.beans.factory.parsing中的构造器 构造器 说明 Problem(String message, Location location, ParseState parseState)
Create a new instance of theProblem
class.Problem(String message, Location location, ParseState parseState, Throwable rootCause)
Create a new instance of theProblem
class.