Problem Builder
Problem instance builder allowing the specification of all optional fields. This is the last interface in the builder chain. The order of steps can be traced from the Problems service interface. An example of how to use the builder:
<problemService>.createProblemBuilder()
.label("test problem")
.undocumented()
.noLocation()
.type(ValidationProblemId.TEST_PROBLEM.name())
.group(ProblemGroup.TYPE_VALIDATION)
.severity(Severity.ERROR)
.details("this is a test")
Content copied to clipboard
Functions
Link copied to clipboard
Specifies arbitrary data associated with this problem.
Link copied to clipboard
Creates the new problem.
Link copied to clipboard
The long description of this problem.
Link copied to clipboard
Declares the severity of the problem.
Link copied to clipboard
The description of how to solve this problem
Link copied to clipboard
The exception causing this problem.