- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for catch (0.17 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
} GetTask getTask = new GetTask(source); getTask.setDataPath(target); try { transporter.get(getTask); return true; } catch (Exception e) { if (Transporter.ERROR_NOT_FOUND != transporter.classify(e)) { throw new RuntimeException(e); } return false; } } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 5.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java
return Metadata.newInstance(); } try (InputStream input = Files.newInputStream(metadataPath)) { return new MetadataStaxReader().read(input, false); } catch (IOException | XMLStreamException e) { throw new RepositoryException("Could not parse metadata " + metadataPath + ": " + e.getMessage(), e); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 4.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
artifactManager.setPath(artifact, path); paths.put(artifact, path); } } return () -> paths; } catch (ArtifactResolutionException e) { throw new ArtifactResolverException("Unable to resolve artifact: " + e.getMessage(), e); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelResolver.java
session.resolveArtifact(session.createArtifactCoordinate(groupId, artifactId, newVersion, "pom")); return ModelSource.fromPath(resolved.getValue(), groupId + ":" + artifactId + ":" + newVersion); } catch (VersionRangeResolverException | ArtifactResolverException e) { throw new ModelResolverException( e.getMessage() + " (remote repositories: "
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 3.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
synchronized (this) { if ((v = value) == null) { try { v = value = supplier.get(); } catch (Exception e) { v = value = new AltRes(e); } } } } if (v instanceof AltRes) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 6.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
.setResolveTransitively(true); try { result = repositorySystem.resolve(request); resolutionErrorHandler.throwErrors(request, result); } catch (Exception e) { assertTrue(result.hasMissingArtifacts()); } } @Test void testLocalRepositoryBasedir() throws Exception {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 8.8K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
## Handling disconnections and multiple clients When a WebSocket connection is closed, the `await websocket.receive_text()` will raise a `WebSocketDisconnect` exception, which you can then catch and handle like in this example. === "Python 3.9+" ```Python hl_lines="79-81" {!> ../../../docs_src/websockets/tutorial003_py39.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
manifests/charts/istio-cni/templates/clusterrole.yaml
operator.istio.io/component: "Cni" rules: - apiGroups: [""] resources: ["events"] verbs: ["create", "patch"] - apiGroups: [""] resources: ["pods"] verbs: ["watch", "get", "list"] {{- if .Values.cni.repair.repairPods }} {{- /* No privileges needed*/}} {{- else if .Values.cni.repair.deletePods }} - apiGroups: [""] resources: ["pods"]
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat May 04 01:55:56 GMT 2024 - 2.2K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
// label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, constants.DataplaneModeLabel, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) client.RunAndWait(ctx.Done()) payload, _ := json.Marshal(valid) // serialize our fake plugin event
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 5.4K bytes - Viewed (0) -
cni/pkg/util/podutil.go
return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel" } func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { _, err := client.CoreV1(). Pods(pod.Namespace). Patch( context.Background(), pod.Name, types.MergePatchType, annotationPatch, metav1.PatchOptions{},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0)