Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 267 for excepciones (0.07 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        if (arg == null) {
          throw new ParameterNotInstantiableException(param);
        }
        return arg;
      }
    
      private static <X extends Throwable> void throwFirst(List<X> exceptions) throws X {
        if (!exceptions.isEmpty()) {
          throw exceptions.get(0);
        }
      }
    
      /** Factories with the least number of parameters are listed first. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

            assertTrue(output.contains("true"));
    
            // Test close
            logStream.close();
            // After close, the stream should not accept more writes
            // but PrintStream doesn't throw exceptions on write after close
        }
    
        @Test
        void testConcurrentAccess() throws InterruptedException {
            // Test thread safety of getInstance
            LogStream.setInstance(testStream);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            assertTrue(outputStream instanceof ByteArrayOutputStream);
        }
    
        public void test_getXContentString_success() {
            // Test that getXContentString method exists and handles exceptions properly
            ToXContent xContent = new ToXContent() {
                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       *
       * <p>There is no guaranteed ordering of execution of listeners, but any listener added through
       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
        /**
         * Recursively deletes a directory and all its contents.
         * Does not throw exceptions, only logs warnings if deletion fails.
         *
         * @param dir the directory to delete
         */
        protected void closeQuietly(final Path dir) {
            if (Files.notExists(dir)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/UniAddressTest.java

            assertTrue(UniAddress.isAllDigits(""), "isAllDigits should return true for empty string (no non-digits)");
        }
    
        /* ---------------------------------------------------------------------
         * 4. Exceptions from static methods that don't resolve without stubbing
         * --------------------------------------------------------------------- */
        @Test
        void getAllByNameRejectsNullOrEmptyHostname() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            verify(mockChannelManager, atLeast(1)).establishReplacementChannel();
        }
    
        @Test
        void testShutdown() {
            failover.shutdown();
    
            // Should not throw any exceptions
            assertDoesNotThrow(() -> failover.shutdown());
        }
    
        @Test
        void testConcurrentFailureHandling() throws InterruptedException {
            IOException error = new IOException("Connection failed");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

                });
                threads[i].start();
            }
    
            for (Thread thread : threads) {
                thread.join(1000);
            }
    
            // Should complete without exceptions
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            assertEquals(longMessage, exception.getMessage());
            assertFalse(exception.aborted());
        }
    
        public void test_constructor_withNestedExceptions() {
            // Test with nested exceptions
            String url = "http://example.com/test";
            String message = "Outer error message";
            Exception innerCause = new IllegalArgumentException("Inner cause");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MIENameTest.java

                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
            if (bufferSupplierOrBytes instanceof byte[]) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top