- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for throwsCheckedException (0.59 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTestSubject.java
throw failure; } static class TestCheckedException extends Exception { public TestCheckedException(Throwable cause) { super(cause); } } public void throwsCheckedException() throws TestCheckedException { throw new TestCheckedException(failure); } protected String protectedMethod() { return "parent"; } protected String overridden() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaTestSubject.java
} static class TestCheckedException extends Exception { public TestCheckedException(Throwable cause) { super(cause); } } public void throwsCheckedException() throws TestCheckedException { throw new TestCheckedException(failure); } protected String protectedMethod() { return "parent"; } protected String overridden() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy
def callsPrivateThatThrowsCheckedException(s) { try { throwsCheckedException(s) } catch (Exception e) { assert e instanceof IOException throw e } } private throwsCheckedException(String a) { throw new IOException("!") } def callsPrivateStringMethodWithGString(GString gString) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22K bytes - Viewed (0)