Skip to content

Commit

Permalink
Remove the documentation about explicit exceptions thrown when TraceF…
Browse files Browse the repository at this point in the history
…lags are invalid. (#2945)
  • Loading branch information
jkwatson authored Feb 26, 2021
1 parent 0d467ab commit 6dd3eac
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ static TraceFlags getSampled() {
/**
* Returns the {@link TraceFlags} converted from the given lowercase hex (base16) representation.
*
* <p>This may throw runtime exceptions if the input is invalid.
*
* @param src the buffer where the hex (base16) representation of the {@link TraceFlags} is.
* @param srcOffset the offset int buffer.
* @return the {@link TraceFlags} converted from the given lowercase hex (base16) representation.
* @throws NullPointerException if {@code src} is null.
* @throws IndexOutOfBoundsException if {@code src} is too short.
* @throws IllegalArgumentException if invalid characters in the {@code src}.
*/
static TraceFlags fromHex(CharSequence src, int srcOffset) {
return ImmutableTraceFlags.fromHex(src, srcOffset);
Expand Down

0 comments on commit 6dd3eac

Please sign in to comment.