Interface YangNetconfError
- All Known Implementing Classes:
ImmutableYangNetconfError
Baseline interface for metadata associated with a NETCONF notion of an 'error'. Except what NETCONF regards as
an 'error', really means 'notable event' in that it can either be a warning or an error. No warnings were defined
at the time this distinction was made.
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
appTag()
Return this error'serror-app-tag
, if available.info()
Return this error's additional info.@Nullable String
message()
Return this errors'serror-message
, if available.@Nullable YangInstanceIdentifier
path()
Return the path which triggered this error, if available.severity()
Return this error's severity.tag()
Return this error's tag.type()
Return this error's type.
-
Method Details
-
severity
ErrorSeverity severity()Return this error's severity.- Returns:
- Error severity.
-
type
ErrorType type()Return this error's type.- Returns:
- Error type.
-
tag
ErrorTag tag()Return this error's tag.- Returns:
- Error tag.
-
message
@Nullable String message()Return this errors'serror-message
, if available. This value is expected to be defined in a YANG model through aerror-message
statement.- Returns:
- Event message, or null.
-
appTag
@Nullable String appTag()Return this error'serror-app-tag
, if available. This value is expected to be defined in a YANG model through aerror-app-tag
statement.- Returns:
- Application tag, or null.
-
path
@Nullable YangInstanceIdentifier path()Return the path which triggered this error, if available.- Returns:
- Triggering path, or null.
-
info
List<YangErrorInfo> info()Return this error's additional info.- Returns:
- Additional info.
-