public static enum Diagnostics.Severity extends java.lang.Enum<Diagnostics.Severity>
Enum Constant and Description |
---|
CriticalError
Critical defect that causes the encoder or decoder to abort
further message processing.
|
IgnorableError
Serious error in the non-imperative part of the message that does not
invalidate the NAS message but causes the decoder to discard the
corresponding optional IE.
|
Informational
Identifies an informational diagnostic.
|
None |
RecoverableError
Serious error that invalidates the NAS message but permits further
processing so additional diagnostics can be collected.
|
Warning
Identifies a non-critical defect that does not invalidate the NAS message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
id()
Returns a single character that identifies the severity of the defect.
|
boolean |
isMoreSevereThan(Diagnostics.Severity other)
Compares the levels of severity.
|
static Diagnostics.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Diagnostics.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Diagnostics.Severity CriticalError
public static final Diagnostics.Severity RecoverableError
public static final Diagnostics.Severity IgnorableError
public static final Diagnostics.Severity Warning
public static final Diagnostics.Severity Informational
Severity
value
is not currently used and is reserved for future use.public static final Diagnostics.Severity None
public static Diagnostics.Severity[] values()
for (Diagnostics.Severity c : Diagnostics.Severity.values()) System.out.println(c);
public static Diagnostics.Severity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String id()
public boolean isMoreSevereThan(Diagnostics.Severity other)
other
- the other severity value to be compared to.other
enumerator.Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.