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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new instance of the
Problem class. | |||||||||||
Create a new instance of the
Problem class. | |||||||||||
Create a new instance of the
Problem class. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the location within a bean configuration source that triggered the error.
| |||||||||||
Get the message detailing the problem.
| |||||||||||
Get the
ParseState at the time of the error (may be null ). | |||||||||||
Get the description of the bean configuration source that triggered the error,
as contained within this Problem's Location object.
| |||||||||||
Get the underlying expection that caused the error (may be
null ). | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new instance of the Problem
class.
message | a message detailing the problem |
---|---|
location | the location within a bean configuration source that triggered the error |
Create a new instance of the Problem
class.
message | a message detailing the problem |
---|---|
location | the location within a bean configuration source that triggered the error |
parseState | the ParseState at the time of the error |
Create a new instance of the Problem
class.
message | a message detailing the problem |
---|---|
location | the location within a bean configuration source that triggered the error |
parseState | the ParseState at the time of the error |
rootCause | the underlying expection that caused the error (may be null ) |
Get the location within a bean configuration source that triggered the error.
Get the ParseState
at the time of the error (may be null
).
Get the description of the bean configuration source that triggered the error, as contained within this Problem's Location object.
Get the underlying expection that caused the error (may be null
).