| java.lang.Object org.springframework.beans.factory.parsing.Problem
Problem | public class Problem (Code) | | Represents a problem with a bean definition configuration.
Mainly serves as common argument passed into a
ProblemReporter .
May indicate a potentially fatal problem (an error) or just a warning.
author: Rob Harrop author: Juergen Hoeller since: 2.0 See Also: ProblemReporter |
Problem | public Problem(String message, Location location)(Code) | | Create a new instance of the
Problem class.
Parameters: message - a message detailing the problem Parameters: location - the location within a bean configuration source that triggered the error |
Problem | public Problem(String message, Location location, ParseState parseState)(Code) | | Create a new instance of the
Problem class.
Parameters: message - a message detailing the problem Parameters: parseState - the ParseState at the time of the error Parameters: location - the location within a bean configuration source that triggered the error |
Problem | public Problem(String message, Location location, ParseState parseState, Throwable rootCause)(Code) | | Create a new instance of the
Problem class.
Parameters: message - a message detailing the problem Parameters: rootCause - the underlying expection that caused the error (may be null ) Parameters: parseState - the ParseState at the time of the error Parameters: location - the location within a bean configuration source that triggered the error |
getLocation | public Location getLocation()(Code) | | Get the location within a bean configuration source that triggered the error.
|
getMessage | public String getMessage()(Code) | | Get the message detailing the problem.
|
getResourceDescription | public String getResourceDescription()(Code) | | Get the description of the bean configuration source that triggered the error,
as contained within this Problem's Location object.
See Also: Problem.getLocation() |
getRootCause | public Throwable getRootCause()(Code) | | Get the underlying expection that caused the error (may be null ).
|
|
|