Skip to content

Commit b205231

Browse files
Fix javadoc
1 parent 4d320e7 commit b205231

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

problem4j-core/src/main/java/io/github/problem4j/core/AbstractProblemMapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ protected void applyExtensionsOnBuilder(
255255
*
256256
* <ul>
257257
* <li>{@code message} - throwable message
258-
* <li>{@code context.traceId} - trace ID from context
258+
* <li>{@code {context.*}} -> value from {@link ProblemContext} included in {@link
259+
* ProblemMapper} methods
259260
* <li>Any other token - value of a matching field in the throwable class hierarchy
260261
* </ul>
261262
*

problem4j-core/src/main/java/io/github/problem4j/core/ProblemMapping.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
*
3232
* <ul>
3333
* <li>{@code {message}} -> the exception's {@link Throwable#getMessage()}
34-
* <li>{@code {context.traceId}} -> the traceId from {@code ProblemContext#getTraceId()} (special
35-
* shorthand)
34+
* <li>{@code {context.*}} -> value from {@link ProblemContext} included in {@link ProblemMapper}
35+
* methods
3636
* <li>{@code {fieldName}} -> value of any field (private or public) in the exception class
3737
* hierarchy
3838
* <li>Any placeholder that resolves to null or an empty string is ignored in the final output
@@ -94,7 +94,8 @@
9494
*
9595
* <ul>
9696
* <li>{@code {message}} -> exception message
97-
* <li>{@code {context.traceId}} -> trace ID from {@code ProblemContext}
97+
* <li>{@code {context.*}} -> value from {@link ProblemContext} included in {@link
98+
* ProblemMapper} methods
9899
* <li>{@code {fieldName}} -> value of any field in the exception class hierarchy
99100
* </ul>
100101
*

0 commit comments

Comments
 (0)