File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
api/all/src/main/java/io/opentelemetry/api/trace Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,11 @@ static TraceFlags getSampled() {
4747 /**
4848 * Returns the {@link TraceFlags} converted from the given lowercase hex (base16) representation.
4949 *
50+ * <p>This may throw runtime exceptions if the input is invalid.
51+ *
5052 * @param src the buffer where the hex (base16) representation of the {@link TraceFlags} is.
5153 * @param srcOffset the offset int buffer.
5254 * @return the {@link TraceFlags} converted from the given lowercase hex (base16) representation.
53- * @throws NullPointerException if {@code src} is null.
54- * @throws IndexOutOfBoundsException if {@code src} is too short.
55- * @throws IllegalArgumentException if invalid characters in the {@code src}.
5655 */
5756 static TraceFlags fromHex (CharSequence src , int srcOffset ) {
5857 return ImmutableTraceFlags .fromHex (src , srcOffset );
You can’t perform that action at this time.
0 commit comments