public class Diagnostics.Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
details
Provides more details about the defect (optional, can be null).
|
java.lang.String |
location
Identifies the NAS message component in which the defect was detected.
|
Reason |
reason
The reason why the entry was created.
|
Diagnostics.Severity |
severity
Specifies the severity of the defect.
|
Constructor and Description |
---|
Entry(Diagnostics.Severity severity,
Reason reason,
java.lang.Object details,
java.lang.String location)
Constructs the diagnostics entry from the components.
|
Modifier and Type | Method and Description |
---|---|
void |
print(java.io.PrintStream s,
boolean printStackTrace)
Prints the entry to the
PrintStream . |
void |
print(java.io.PrintWriter s,
boolean printStackTrace)
Prints the entry to the
PrintWriter . |
java.lang.String |
toString()
Presents the diagnostics entry in human-readable format.
|
public final Diagnostics.Severity severity
public final Reason reason
public final java.lang.Object details
public java.lang.String location
public Entry(Diagnostics.Severity severity, Reason reason, java.lang.Object details, java.lang.String location)
severity
- the severity of the defect.reason
- why the entry was created.details
- more details about the defect (optional, can be null).location
- the NAS message component in which the defect was detected.public java.lang.String toString()
toString
in class java.lang.Object
public void print(java.io.PrintStream s, boolean printStackTrace)
PrintStream
.s
- the PrintStream
.printStackTrace
- instructs the method to print the exception stack
trace to the output when the details
field contains
a Throwable
object.public void print(java.io.PrintWriter s, boolean printStackTrace)
PrintWriter
.s
- the PrintWriter
.printStackTrace
- instructs the method to print the exception stack
trace to the output when the details
field contains
a Throwable
object.Copyright © 2024 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.