Class MethodInvocationFailResult

    • Constructor Summary

      Constructors 
      Constructor Description
       thrown)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      getReturnValue()
      The return value from the method invocation.
      <T extends >
      T
      <T> throwableClass)
      If MethodInvocationResult.isFail() is true, this method provides access to the actual checked exception that was thrown.
      boolean isFail()
      If true, then the method invocation ended with a checked exception being thrown.
      void rethrow()
      If the invocation threw a checked exception, this method will wrap that exception in a RuntimeException and throw that.
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Constructor Detail

      • MethodInvocationFailResult

        public  thrown)