public Problem(String message,
Location location,
ParseState parseState,
Throwable rootCause) {
Assert.notNull(message, "Message must not be null");
Assert.notNull(location, "Location must not be null");
this.message = message;
this.location = location;
this.parseState = parseState;
this.rootCause = rootCause;
}
Create a new instance of the Problem class. Parameters:
message - a message detailing the problem
rootCause - the underlying expection that caused the error (may be null)
parseState - the ParseState at the time of the error
location - the location within a bean configuration source that triggered the error
|