- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for exitClassLoadingScopeWithException (0.83 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformErrorHandlerTest.groovy
given: TransformErrorHandler handler = handler() when: handler.enterClassLoadingScope("some/Class") handler.exitClassLoadingScopeWithException(exception) then: Throwable th = thrown(expectedExceptionClass) th.getCause() == expectedCause where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformErrorHandler.java
* handler.enterClassLoadingScope(name); * Class<?> result; * try { * result = super.findClass(name); * } catch (Throwable th) { * throw handler.exitClassLoadingScopeWithException(th); * } * handler.exitClassLoadingScope(); * return result; * } * * public void transformFailed(String className, Throwable th) { * handler.classLoadingError(className, th);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java
Class<?> loadedClass; try { loadedClass = super.findClass(name); } catch (Throwable e) { throw errorHandler.exitClassLoadingScopeWithException(e); } errorHandler.exitClassLoadingScope(); return loadedClass; } @Override public void close() throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 6.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
Class<?> loadedClass; try { loadedClass = super.findClass(name); } catch (Throwable e) { throw errorHandler.exitClassLoadingScopeWithException(e); } errorHandler.exitClassLoadingScope(); return loadedClass; } @Override public void close() throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0)