类的使用
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中的方法 修饰符和类型 方法 说明 ParseStateProblem. getParseState()Get theParseStateat the time of the error (may benull).ParseStateParseState. snapshot()Create a new instance ofParseStatewhich is an independent snapshot of this instance.参数类型为ParseState的org.springframework.beans.factory.parsing中的方法 修饰符和类型 方法 说明 voidReaderContext. error(String message, Object source, ParseState parseState)Raise a regular error.voidReaderContext. error(String message, Object source, ParseState parseState, Throwable cause)Raise a regular error.voidReaderContext. fatal(String message, Object source, ParseState parseState)Raise a fatal error.voidReaderContext. fatal(String message, Object source, ParseState parseState, Throwable cause)Raise a fatal error.voidReaderContext. warning(String message, Object source, ParseState parseState)Raise a non-critical warning.voidReaderContext. 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 theProblemclass.Problem(String message, Location location, ParseState parseState, Throwable rootCause)Create a new instance of theProblemclass.