Class ManExceptionUtil

java.lang.Object
manifold.util.ManExceptionUtil

public class ManExceptionUtil extends Object
  • Constructor Details

    • ManExceptionUtil

      public ManExceptionUtil()
  • Method Details

    • unchecked

      public static RuntimeException unchecked(Throwable t)
      Throws an unchecked exception without having to declare or catch it.
      Parameters:
      t - Any exception
      Returns:
      The RuntimeException return type is here so you can do this:
      throw ManExceptionUtil.uncheck(new SomeException())