public class Sneaky extends Object
Modifier and Type | Method and Description |
---|---|
static RuntimeException |
throwAnyway(Throwable t)
Will always throw an exception, so the caller should also always throw the dummy return value to make sure the control flow remains clear.
|
public static RuntimeException throwAnyway(Throwable t)
Copyright © 2021 FasterXML. All rights reserved.