Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,097 for onerror (0.09 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(e);
          return;
        } catch (Error e) {
          /*
           * StackOverflowError, OutOfMemoryError (e.g., from allocating ExecutionException), or
           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. maven-tests/mvnw.cmd

      if ((Get-FileHash "$TMP_DOWNLOAD_DIR/$distributionUrlName" -Algorithm SHA256).Hash.ToLower() -ne $distributionSha256Sum) {
        Write-Error "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised. If you updated your Maven version, you need to update the specified distributionSha256Sum property."
      }
    }
    
    # unzip and move
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

                            in.close();
                        }
                    } catch (final IOException ioe) {
                        logger.error("I/O error occurred: {}", ioe.getMessage(), ioe);
                    }
    
                }
            } catch (final Exception e) {
                logger.error("Error in test execution", e);
            } finally {
                numComplete++;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

            /**
             * Called when a witness registration fails.
             *
             * @param registration the failed registration
             * @param error the error that occurred
             */
            void onRegistrationFailed(WitnessRegistration registration, Exception error);
    
            /**
             * Called when a witness registration expires.
             *
             * @param registration the expired registration
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

        /**
         * Sets up the test environment before each test.
         * Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}.
         * @throws CIFSException if an error occurs during setup.
         */
        @BeforeEach
        public void setUp() throws CIFSException {
            mockPipeResource = mock(SmbPipeResource.class);
            mockSmbPipeHandleInternal = mock(SmbPipeHandleInternal.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            String server = "testServer";
            int access = 123;
            int errorRetval = 12345; // Simulate an error code
    
            // Setup for successful constructor
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            // Setup for close to return an error
            ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtException.java

        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
        /** Implementation error in the name service */
        public static final int IMP_ERR = 0x4;
        /** Refused error in the name service */
        public static final int RFS_ERR = 0x5;
        /** Active error in the name service */
        public static final int ACT_ERR = 0x6;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        replaceWith = ReplaceWith(expression = "request"),
        level = DeprecationLevel.ERROR,
      )
      fun request(): Request = request
    
      @JvmName("-deprecated_protocol")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "protocol"),
        level = DeprecationLevel.ERROR,
      )
      fun protocol(): Protocol = protocol
    
      @JvmName("-deprecated_code")
      @Deprecated(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            String message = "Test error message";
            CurlException exception = new CurlException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void testConstructorWithMessageAndCause() {
            String message = "Test error message";
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top