Class SneakyThrowUtil


  • final class SneakyThrowUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SneakyThrowUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static <T extends java.lang.Exception,​R>
      R
      sneakyThrow​(java.lang.Exception t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SneakyThrowUtil

        private SneakyThrowUtil()
    • Method Detail

      • sneakyThrow

        static <T extends java.lang.Exception,​R> R sneakyThrow​(java.lang.Exception t)
                                                              throws T extends java.lang.Exception
        Throws:
        T extends java.lang.Exception