Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » factory » parsing » [javadoc | source]
org.springframework.beans.factory.parsing
public class: Problem [javadoc | source]
java.lang.Object
   org.springframework.beans.factory.parsing.Problem
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.

Constructor:
 public Problem(String message,
    Location location) 
    Create a new instance of the Problem class.
    Parameters:
    message - a message detailing the problem
    location - the location within a bean configuration source that triggered the error
 public Problem(String message,
    Location location,
    ParseState parseState) 
    Create a new instance of the Problem class.
    Parameters:
    message - a message detailing the problem
    parseState - the ParseState at the time of the error
    location - the location within a bean configuration source that triggered the error
 public Problem(String message,
    Location location,
    ParseState parseState,
    Throwable 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
Method from org.springframework.beans.factory.parsing.Problem Summary:
getLocation,   getMessage,   getParseState,   getResourceDescription,   getRootCause,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.factory.parsing.Problem Detail:
 public Location getLocation() 
    Get the location within a bean configuration source that triggered the error.
 public String getMessage() 
    Get the message detailing the problem.
 public ParseState getParseState() 
    Get the ParseState at the time of the error (may be null).
 public String getResourceDescription() 
    Get the description of the bean configuration source that triggered the error, as contained within this Problem's Location object.
 public Throwable getRootCause() 
    Get the underlying expection that caused the error (may be null).
 public String toString()