private static class ReportedException.Section extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<ReportedException.SectionEntry> |
entries |
private java.lang.String |
sectionName |
Constructor and Description |
---|
Section(java.lang.String sectionName) |
Modifier and Type | Method and Description |
---|---|
void |
printSection(java.io.PrintWriter out)
Prints this section to the output stream.
|
void |
put(java.lang.String key,
java.lang.String value)
Add a key/value entry to this section.
|
private final java.lang.String sectionName
private final java.util.ArrayList<ReportedException.SectionEntry> entries
Section(java.lang.String sectionName)
public void put(java.lang.String key, java.lang.String value)
key
- The key. Need not be unique.value
- The value.public void printSection(java.io.PrintWriter out)
out
- The stream to print to.