- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 217 for throwAsUncheckedException (0.37 sec)
-
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/UnexportMainSymbol.java
symbolHider.hideSymbol("_wmain"); // 32 bit symbolHider.saveTo(relocatedObject); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } else { getProject().exec(new Action<ExecSpec>() { @Override public void execute(ExecSpec execSpec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java
try { bytes = outputEvent.getMessage().getBytes(messageStorageCharset.name()); } catch (UnsupportedEncodingException e) { throw UncheckedException.throwAsUncheckedException(e); } output.writeSmallInt(bytes.length); output.writeBytes(bytes, 0, bytes.length); } private void mark(long classId, long testId, boolean isStdout) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java
} public String readAsString(Charset charset) { try { return doReadAsString(charset); } catch (CharacterCodingException e) { throw UncheckedException.throwAsUncheckedException(e); } } private String doReadAsString(Charset charset) throws CharacterCodingException { int unreadSize = totalBytesUnread(); if (unreadSize > 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptor.java
// property requires >= JAXP 1.5 / Java8 } return parser; } catch (Exception ex) { throw UncheckedException.throwAsUncheckedException(ex); } } @Override public DeploymentDescriptor readFrom(Reader reader) { try { Node appNode = createParser().parse(reader);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 19 22:06:51 UTC 2023 - 15.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandle.java
try { stateChanged.await(); } catch (InterruptedException e) { execHandleRunner.abortProcess(); throw UncheckedException.throwAsUncheckedException(e); } } if (execResult != null) { execResult.rethrowFailure(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ProducerGuard.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:31 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaMethod.java
try { Object result = method.invoke(target, args); return returnType.cast(result); } catch (InvocationTargetException e) { throw UncheckedException.throwAsUncheckedException(e.getCause()); } catch (Exception e) { throw new GradleException(String.format("Could not call %s.%s() on %s", method.getDeclaringClass().getSimpleName(), method.getName(), target), e); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 20 11:07:38 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestResultSerializer.java
readResults(decoder, visitor); } finally { inputStream.close(); } } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } } public boolean isHasResults() { return resultsFile.exists() && resultsFile.length() > 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java
// check that groovy is visible. try { getClass().getClassLoader().loadClass("groovy.lang.Closure"); } catch (ClassNotFoundException e) { throw UncheckedException.throwAsUncheckedException(e); } } /** * Resolves the names in the given type into fully qualified names. */ public void resolve(final TypeMetaData type, final ClassMetaData classMetaData) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.3K bytes - Viewed (0)