Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for getErrors (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java

    @Deprecated
    public interface UpdateCheckManager {
    
        boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository);
    
        void touch(Artifact artifact, ArtifactRepository repository, String error);
    
        String getError(Artifact artifact, ArtifactRepository repository);
    
        boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java

         */
        public boolean isSuccess() {
            return returnCode == 0;
        }
    
        /**
         * Gets a human-readable error description.
         *
         * @return the error description
         */
        public String getError() {
            return error != null ? error : "Error code: " + returnCode;
        }
    
        /**
         * Sets the error message.
         *
         * @param error the error message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessClient.java

                        return registration;
                    } else {
                        String errorMsg = response != null ? response.getError() : "Response was null";
                        throw new IOException("Witness registration failed: " + errorMsg);
                    }
    
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

            this.recommendedHeartbeatInterval = recommendedHeartbeatInterval;
        }
    
        /**
         * Gets the error message.
         *
         * @return the error message
         */
        public String getError() {
            return error;
        }
    
        /**
         * Sets the error message.
         *
         * @param error the error message
         */
        public void setError(String error) {
            this.error = error;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

         */
        public boolean isSuccess() {
            return returnCode == 0;
        }
    
        /**
         * Gets a human-readable error description.
         *
         * @return the error description
         */
        public String getError() {
            return error != null ? error : "Error code: " + returnCode;
        }
    
        /**
         * Sets the error message.
         *
         * @param error the error message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

            this.error = error;
            this.completed = true;
        }
    
        /**
         * Get error if request failed
         *
         * @return exception if failed, null if successful
         */
        public Exception getError() {
            return error;
        }
    
        /**
         * Check if request failed
         *
         * @return true if failed, false otherwise
         */
        public boolean hasFailed() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            this.artifactUri = artifactUri;
        }
    
        public String getWhy() {
            return why;
        }
    
        public void setWhy(String why) {
            this.why = why;
        }
    
        public String getError() {
            return error;
        }
    
        public void setError(String error) {
            this.error = error;
        }
    
        public boolean isError() {
            return error == null;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        @Override
        public ArtifactRepository getMirrorRepository(ArtifactRepository repository) {
    
            Mirror mirror = mirrorSelector.getMirror(
                    repository, legacySupport.getSession().getSettings().getMirrors());
    
            if (mirror != null) {
                String id = mirror.getId();
                if (id == null) {
                    // TODO this should be illegal in settings.xml
                    id = repository.getId();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. docs/smb3-features/06-witness-protocol-design.md

                        
                        return registration;
                    } else {
                        throw new IOException("Witness registration failed: " + response.getError());
                    }
                    
                } catch (Exception e) {
                    log.error("Failed to register for witness notifications", e);
                    throw new RuntimeException(e);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            // Setup mock RPC response for failure
            WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class);
            when(mockResponse.isSuccess()).thenReturn(false);
            when(mockResponse.getError()).thenReturn("Registration failed");
    
            WitnessRpcClient mockRpc = mock(WitnessRpcClient.class);
            lenient().when(mockRpc.register(any(WitnessRegisterRequest.class))).thenReturn(mockResponse);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top