Class Rethrow.Rethrower<T extends java.lang.Throwable>

  • Enclosing class:
    Rethrow

    private static class Rethrow.Rethrower<T extends java.lang.Throwable>
    extends java.lang.Object
    Classy puzzler to rethrow any checked exception as an unchecked one.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Rethrower()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void rethrow​(java.lang.Throwable t)  
      • Methods inherited from class java.lang.Object

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

      • Rethrower

        private Rethrower()
    • Method Detail

      • rethrow

        private void rethrow​(java.lang.Throwable t)
                      throws T extends java.lang.Throwable
        Throws:
        T extends java.lang.Throwable