Remove the documentation about explicit exceptions thrown when TraceFlags are invalid. (#2945)
This commit is contained in:
parent
0d467ab670
commit
6dd3eac097
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue