Class Sneaky


  • public class Sneaky
    extends Object
    • Method Detail

      • throwAnyway

        public 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.