Remove the documentation about explicit exceptions thrown when TraceFlags are invalid. (#2945)

This commit is contained in:
John Watson 2021-02-26 09:58:48 -08:00 committed by GitHub
parent 0d467ab670
commit 6dd3eac097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -47,12 +47,11 @@ public interface TraceFlags {
/**
* 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);