Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for attachCallerThreadStackTrace (0.43 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/BlockingResultHandler.java

            if (result instanceof Throwable) {
                throw UncheckedException.throwAsUncheckedException(attachCallerThreadStackTrace((Throwable) result));
            }
            if (result == NULL) {
                return null;
            }
            return resultType.cast(result);
        }
    
        public static Throwable attachCallerThreadStackTrace(Throwable failure) {
            List<StackTraceElement> adjusted = new ArrayList<StackTraceElement>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TestResultHandler.groovy

            }
        }
    
        def failWithFailure() {
            if (failure) {
                throw UncheckedException.throwAsUncheckedException(BlockingResultHandler.attachCallerThreadStackTrace(failure))
            }
        }
    
        def assertNoFailure() {
            if (failure == null) {
                return true
            } else {
                throw failure
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top