Modifier and Type | Method and Description |
---|---|
static void |
throwIfUnchecked(Throwable t)
Throws {code t} if it is an instance of
RuntimeException or Error . |
public static void throwIfUnchecked(Throwable t)
RuntimeException
or Error
.
This is intended to mimic Guava's method by the same name, but which is unavailable to us due to compatibility with older Guava versions.
Copyright © 2018. All rights reserved.