Class Exceptions


  • public class Exceptions
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Exceptions()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.RuntimeException duck​(java.lang.Throwable t)  
      private static <E extends java.lang.Throwable>
      void
      throwsUnchecked​(java.lang.Throwable throwable)  
      static java.lang.String toString​(java.lang.Throwable t)  
      • Methods inherited from class java.lang.Object

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

      • Exceptions

        private Exceptions()
    • Method Detail

      • duck

        public static java.lang.RuntimeException duck​(java.lang.Throwable t)
      • throwsUnchecked

        private static <E extends java.lang.Throwable> void throwsUnchecked​(java.lang.Throwable throwable)
                                                                     throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable
      • toString

        public static java.lang.String toString​(java.lang.Throwable t)