public class Diagnostic
extends java.lang.Object
Constructor and Description |
---|
Diagnostic(edu.illinois.ncsa.daffodil.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()
Positively get these things.
|
java.lang.String |
getSomeMessage() |
boolean |
isError()
Determine if a diagnostic object represents an error or something less serious.
|
java.lang.String |
toString() |
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object
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 boolean isError()
public java.lang.Throwable getSomeCause()
public java.lang.String getSomeMessage()