- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 191 for throwAsUncheckedException (0.29 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionResolveException.java
return getClass().getConstructor(ComponentSelector.class, Factory.class).newInstance(getSelector(), (Factory<String>) () -> message); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 19:29:09 UTC 2024 - 6.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) -
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) -
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/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/LazyConsumerActionExecutor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactory.java
URI fileURI = null; try { fileURI = new URI(jarURI.replace("jar:", "").replace("!/", "")); } catch (URISyntaxException e) { UncheckedException.throwAsUncheckedException(e); } File file = new File(fileURI); String path = PathUtil.normalizePath(file.getAbsolutePath()); return new FileReferenceImpl(file, path, false); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 5.1K bytes - Viewed (0)