public class ValidationProblem extends Object implements SchemaLibrary.Problem
| Constructor and Description |
|---|
ValidationProblem(SchemaLibrary.ProblemType type,
Path path,
String reason,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Get the exception that was the cause of this problem, if there was an exception.
|
Path |
getPath()
The path to the field about which this problem applies.
|
String |
getReason()
Get the message describing the problem.
|
SchemaLibrary.ProblemType |
getType()
Get the type of problem.
|
String |
toString() |
public ValidationProblem(SchemaLibrary.ProblemType type, Path path, String reason, Throwable cause)
public SchemaLibrary.ProblemType getType()
SchemaLibrary.ProblemgetType in interface SchemaLibrary.Problempublic Path getPath()
SchemaLibrary.ProblemgetPath in interface SchemaLibrary.Problempublic String getReason()
SchemaLibrary.ProblemgetReason in interface SchemaLibrary.Problempublic Throwable getCause()
SchemaLibrary.ProblemgetCause in interface SchemaLibrary.ProblemCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.