Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 364 for RuntimeException (0.06 sec)

  1. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                if (throwContainerNotAvailable) {
                    throw new ContainerNotAvailableException("");
                }
                if (throwRuntimeException) {
                    throw new RuntimeException("Test exception");
                }
                return accessResultList;
            }
    
            @Override
            public void update(List<OpenSearchAccessResult> list) {
                // Do nothing in test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andxCommand = (byte) 0xFF;
                andx = null;
            } else if (andx == null) {
                andxCommand = (byte) 0xFF;
                throw new RuntimeException("no andx command supplied with response");
            } else {
    
                /*
                 * Set bufferIndex according to andxOffset
                 */
    
                bufferIndex = headerStart + andxOffset;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e);
            } catch (RuntimeException e) {
                // Unwrap IOException from RuntimeException
                if (e.getCause() instanceof IOException) {
                    throw (IOException) e.getCause();
                }
                throw new IOException("Connection failed", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      "unused", // many methods tested reflectively -- maybe prefer local @Keep annotations?
    })
    @NullUnmarked
    public class NullPointerTesterTest extends TestCase {
    
      /** Non-NPE RuntimeException. */
      public static class FooException extends RuntimeException {
        private static final long serialVersionUID = 1L;
      }
    
      /**
       * Class for testing all permutations of static/non-static one-argument methods using
       * methodParameter().
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
      private final class FreshInvocationHandler extends AbstractInvocationHandler {
        private final int identity = generateInt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            TestIngester failingIngester = new TestIngester() {
                @Override
                public Map<String, Object> process(Map<String, Object> target, DataStoreParams paramMap) {
                    throw new RuntimeException("Test exception");
                }
            };
            ingestFactory.ingesters.add(failingIngester);
            ComponentUtil.register(ingestFactory, "ingestFactory");
    
            // Reinitialize to pick up factory
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Thrown to indicate that an invalid response was returned from a call to {@link CacheLoader}.
       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
        public InvalidCacheLoadException(String message) {
          super(message);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            // andxOffset arbitrarily > 0
            ServerMessageBlock.writeInt2(80, buf, 36);
            // byteCount position: 33 + 1 + 8 = 42
            ServerMessageBlock.writeInt2(0, buf, 42);
    
            assertThrows(RuntimeException.class, () -> block.decode(buf, 0));
        }
    
        @Test
        @DisplayName("readAndXWireFormat reads chained plain SMB and marks received")
        void testReadAndXWireFormatWithPlainSMB() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                    lengthField.setAccessible(true);
                    lengthField.setInt(this, length);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            @Override
            protected int readBytesWireFormat(byte[] buffer, int bufferIndex) {
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        private void setFieldAccessible(Field field) {
            if (isExceptPrivateAccessible(field)) {
                return;
            }
            try {
                field.setAccessible(true);
            } catch (RuntimeException e) {
                throw new BeanFieldSetAccessibleFailureException(beanClass, field, e);
            }
        }
    
        private boolean isExceptPrivateAccessible(Field field) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
Back to top