public final class ModelProblemCollectorRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Exception |
exception |
private InputLocation |
location |
private java.lang.String |
message |
private ModelProblem.Severity |
severity |
private ModelProblem.Version |
version |
Constructor and Description |
---|
ModelProblemCollectorRequest(ModelProblem.Severity severity,
ModelProblem.Version version)
Create a new request with mandatory parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException() |
InputLocation |
getLocation() |
java.lang.String |
getMessage() |
ModelProblem.Severity |
getSeverity() |
ModelProblem.Version |
getVersion() |
ModelProblemCollectorRequest |
setException(java.lang.Exception exception) |
ModelProblemCollectorRequest |
setLocation(InputLocation location) |
ModelProblemCollectorRequest |
setMessage(java.lang.String message) |
private final ModelProblem.Severity severity
private final ModelProblem.Version version
private java.lang.Exception exception
private java.lang.String message
private InputLocation location
public ModelProblemCollectorRequest(ModelProblem.Severity severity, ModelProblem.Version version)
severity
- version
- public ModelProblem.Severity getSeverity()
public ModelProblem.Version getVersion()
public java.lang.Exception getException()
public ModelProblemCollectorRequest setException(java.lang.Exception exception)
public java.lang.String getMessage()
public ModelProblemCollectorRequest setMessage(java.lang.String message)
public InputLocation getLocation()
public ModelProblemCollectorRequest setLocation(InputLocation location)