Class Exceptions


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

      Constructors 
      Constructor Description
      Exceptions()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addSuppressed​(java.lang.Throwable owner, java.lang.Throwable add)
      Invoke Throwable#addSuppressed(Throwable) reflectively if it is available.
      static <T> T throwUncheckedException​(java.lang.Throwable e)  
      • Methods inherited from class java.lang.Object

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

      • Exceptions

        public Exceptions()
    • Method Detail

      • throwUncheckedException

        public static <T> T throwUncheckedException​(java.lang.Throwable e)
      • addSuppressed

        public static void addSuppressed​(java.lang.Throwable owner,
                                         java.lang.Throwable add)
        Invoke Throwable#addSuppressed(Throwable) reflectively if it is available. It is not available on JRE < 1.7
        Since:
        2.8