- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 115 for throwAsUncheckedException (0.32 sec)
-
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java
} /** * Note: always throws the failure in some form. The return value is to keep the compiler happy. */ public static RuntimeException throwAsUncheckedException(Throwable t) { return throwAsUncheckedException(t, false); } /** * Note: always throws the failure in some form. The return value is to keep the compiler happy. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/WriterTextStream.java
} catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } @Override public void endOfStream(@Nullable Throwable failure) { try { delegate.close(); } catch (IOException e) { if (failure == null) { throw UncheckedException.throwAsUncheckedException(e); } } if (failure != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:13 UTC 2024 - 1.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/request/Receiver.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:26:04 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java
throw UncheckedException.throwAsUncheckedException(e); } } @Override public <T> T read(Supplier<T> task) { FutureTask<T> futureTask = new FutureTask<T>(task::get); addToQueue(futureTask); try { return futureTask.get(); } catch (ExecutionException e) { throw UncheckedException.throwAsUncheckedException(e.getCause());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/instance/ManagedProxyFactory.java
return constructor.newInstance(state, null); } catch (InvocationTargetException e) { throw UncheckedException.throwAsUncheckedException(e.getTargetException()); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } } /** * Generates a view of the given type. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionReplacingObjectInputStream.java
@Override public Object transform(Object o) { try { return doResolveObject(o); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } }; public ExceptionReplacingObjectInputStream(InputStream inputSteam, ClassLoader classLoader) throws IOException { super(inputSteam, classLoader);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java
throw UncheckedException.throwAsUncheckedException(e); } } LOGGER.debug("Command execution: finished waiting for {}. Result {} with state {}", currentCommandExecution, result, state); if (result instanceof Throwable) { throw UncheckedException.throwAsUncheckedException((Throwable) result); } if (result != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderAssertionError.java
if (getMessageException != null) { throw UncheckedException.throwAsUncheckedException(getMessageException); } return super.getMessage(); } @Override public String toString() { if (toStringRuntimeEx != null) { throw UncheckedException.throwAsUncheckedException(toStringRuntimeEx); } return toString; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderException.java
if (getMessageException != null) { throw UncheckedException.throwAsUncheckedException(getMessageException); } return super.getMessage(); } @Override public String toString() { if (toStringRuntimeEx != null) { throw UncheckedException.throwAsUncheckedException(toStringRuntimeEx); } return toString; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializer.java
map.collectClassLoaderDefinitions(classLoaders); return new SerializedPayload(classLoaders, buffer.readAsListOfByteArrays()); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } public @Nullable Object deserialize(SerializedPayload payload) { if (payload.getSerializedModel().isEmpty()) { return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 3K bytes - Viewed (0)