public class Diagnostic
extends java.lang.Object
Constructor and Description |
---|
Diagnostic(org.apache.daffodil.lib.api.Diagnostic d) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DataLocation> |
getDataLocations()
Get data location information relevant to this diagnostic object.
|
java.util.List<LocationInSchemaFile> |
getLocationsInSchemaFiles()
Get schema location information relevant to this diagnostic object.
|
java.lang.String |
getMessage()
Get the diagnostic message
|
java.lang.Throwable |
getSomeCause()
Get the cause of that cause this diagnostic
|
java.lang.String |
getSomeMessage()
Get the message that caused this diagnostic
|
boolean |
isError()
Determine if a diagnostic object represents an error or something less serious.
|
java.lang.String |
toString() |
public java.util.List<DataLocation> getDataLocations()
For example, this might be a file name, and position within the file.
DataLocation
's related to this diagnosticpublic java.util.List<LocationInSchemaFile> getLocationsInSchemaFiles()
For example, this might be a file name of a schema, and position within the schema file.
LocationInSchemaFile
's related to this diagnostic.public java.lang.String getMessage()
public java.lang.Throwable getSomeCause()
public java.lang.String getSomeMessage()
public boolean isError()
public java.lang.String toString()
toString
in class java.lang.Object