Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for onerror (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        public Exception getException() {
            return this.exception;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isError()
         */
        @Override
        public boolean isError() {
            return this.isError;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getRawPayload()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbException.java

     * a newer varient such as Windows NT and above. If you should encounter
     * such a case, please report it to jcifs at samba dot org and we will
     * change the mapping.
     */
    
    public class SmbException extends IOException implements NtStatus, DosError, WinError {
    
        static String getMessageByCode(final int errcode) {
            /* Note there's a signedness error here because 0xC0000000 based values are
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        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() {
            return groupId + ":" + artifactId;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                Exception testException = new RuntimeException("Test error");
    
                assertNull(testBlock.getException());
    
                testBlock.exception(testException);
                assertEquals(testException, testBlock.getException());
            }
    
            @Test
            @DisplayName("Test error state")
            void testErrorState() {
                assertFalse(testBlock.isError());
    
                testBlock.error();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    }
    
    // Verify if request has valid AWS Signature Version '2'.
    func isReqAuthenticatedV2(r *http.Request) (s3Error APIErrorCode) {
    	if isRequestSignatureV2(r) {
    		return doesSignV2Match(r)
    	}
    	return doesPresignV2SignatureMatch(r)
    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbException.java

            this.status = NT_STATUS_UNSUCCESSFUL;
        }
    
        /**
         * Constructs an SmbException with the specified error code
         *
         * @param errcode the error code (either SMB or Windows error code)
         * @param winerr true if errcode is a Windows error code, false if it's an SMB error code
         */
        public SmbException(final int errcode, final boolean winerr) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers-site-replication.go

    func parseJSONBody(ctx context.Context, body io.Reader, v any, encryptionKey string) error {
    	data, err := io.ReadAll(body)
    	if err != nil {
    		return SRError{
    			Cause: err,
    			Code:  ErrSiteReplicationInvalidRequest,
    		}
    	}
    	if encryptionKey != "" {
    		data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data))
    		if err != nil {
    			return SRError{
    				Cause: err,
    				Code:  ErrSiteReplicationInvalidRequest,
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
    
                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle configuration correctly")
            void testConfigurationHandling() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/RequestTest.java

            @Override
            public boolean isVerifyFailed() {
                return false;
            }
    
            @Override
            public boolean isError() {
                return errorCode != 0;
            }
    
            @Override
            public void error() {
                this.errorCode = -1;
            }
    
            @Override
            public Long getExpiration() {
                return expiration;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. configure.py

          raising an error and quitting.
    
      Returns:
        [String] The value of var_name after querying for input.
    
      Raises:
        UserInputError: if a query has been attempted n_ask_attempts times without
          success, assume that the user has made a scripting error, and will
          continue to provide invalid input. Raise the error to avoid infinitely
          looping.
      """
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
Back to top