Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for getError (0.11 sec)

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

            String key = getMetadataKey(repository, file);
    
            return readLastUpdated(touchfile, key);
        }
    
        @Override
        public String getError(Artifact artifact, ArtifactRepository repository) {
            File touchFile = getTouchfile(artifact);
            return getError(touchFile, getRepositoryKey(repository));
        }
    
        @Override
        public void touch(Artifact artifact, ArtifactRepository repository, String error) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java

         *
         * @return the error description
         */
        public String getError() {
            return error != null ? error : "Error code: " + returnCode;
        }
    
        /**
         * Sets the error message.
         *
         * @param error the error message
         */
        public void setError(String error) {
            this.error = error;
        }
    
        /**
         * Gets the return code.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        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;
        }
    
        public String getDependencyConflictId() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

        }
    
        /**
         * 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)
  6. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

         *
         * @return the error description
         */
        public String getError() {
            return error != null ? error : "Error code: " + returnCode;
        }
    
        /**
         * Sets the error message.
         *
         * @param error the error message
         */
        public void setError(String error) {
            this.error = error;
        }
    
        /**
         * Gets the registration ID.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top