public final class ModelProblemCollectorRequest extends Object
Constructor and Description |
---|
ModelProblemCollectorRequest(ModelProblem.Severity severity,
ModelProblem.Version version)
Create a new request with mandatory parameters.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getException() |
InputLocation |
getLocation() |
String |
getMessage() |
ModelProblem.Severity |
getSeverity() |
ModelProblem.Version |
getVersion() |
ModelProblemCollectorRequest |
setException(Exception exception) |
ModelProblemCollectorRequest |
setLocation(InputLocation location) |
ModelProblemCollectorRequest |
setMessage(String message) |
public ModelProblemCollectorRequest(ModelProblem.Severity severity, ModelProblem.Version version)
severity
- version
- public ModelProblem.Severity getSeverity()
public ModelProblem.Version getVersion()
public Exception getException()
public ModelProblemCollectorRequest setException(Exception exception)
public String getMessage()
public ModelProblemCollectorRequest setMessage(String message)
public InputLocation getLocation()
public ModelProblemCollectorRequest setLocation(InputLocation location)
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.