Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 358 for RuntimeException (0.79 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypesTest.java

            () -> Types.newArtificialTypeVariable(List.class, "E", int.class));
      }
    
      public void testNewTypeVariable_serializable() throws Exception {
        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(Types.newArtificialTypeVariable(List.class, "E")));
      }
    
      private static <D extends GenericDeclaration> TypeVariable<D> withBounds(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            if (exception == null) {
                return false;
            } else if (exception instanceof Error) {
                return true;
            } else if (exception instanceof RuntimeException) {
                return false;
            } else {
                return !exception.getClass().getName().startsWith("java");
            }
        }
    
        private String getMessage(String message, Throwable exception) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                try {
                    mac = createMacInstance();
                } catch (GeneralSecurityException e) {
                    log.error("Failed to create Mac instance for signing", e);
                    throw new RuntimeException("Failed to create Mac instance", e);
                }
    
                mac.update(data, offset, length);
                final byte[] sig = mac.doFinal();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                            .waitingFor(Wait.forListeningPorts(SMB_PORT).withStartupTimeout(Duration.ofMinutes(2)));
                } catch (IOException e) {
                    throw new RuntimeException("Failed to setup test directories", e);
                }
            } else {
                sambaContainer = null;
            }
        }
    
        @BeforeAll
        void setupContainer() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertEquals(valueToPut, map.get(null));
          assertTrue(map.containsKey(null));
          assertTrue(map.containsValue(valueToPut));
        } else {
          assertThrows(RuntimeException.class, () -> map.put(null, valueToPut));
        }
        assertInvariants(map);
      }
    
      public void testPutNullValue() {
        if (!supportsPut) {
          return;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          return false;
        }
        TesterRequirements requirements;
        try {
          requirements = FeatureUtil.getTesterRequirements(method);
        } catch (ConflictingRequirementsException e) {
          throw new RuntimeException(e);
        }
        if (!features.containsAll(requirements.getPresentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> missingFeatures = copyToSet(requirements.getPresentFeatures());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                              }
                            }
                            throw new NoSuchFieldError("the Unsafe");
                          });
            } catch (PrivilegedActionException e) {
              throw new RuntimeException("Could not initialize intrinsics", e.getCause());
            }
          }
          try {
            Class<?> abstractFutureState = AbstractFutureState.class;
            WAITERS_OFFSET =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

                transportContextField.setAccessible(true);
                transportContextField.set(ntlmServlet, cifsContext);
            } catch (Exception e) {
                throw new RuntimeException("Failed to inject mock CIFSContext", e);
            }
    
            when(cifsContext.getTransportPool()).thenReturn(transportPool);
            when(cifsContext.getNameServiceClient()).thenReturn(nameServiceClient);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            injector.bindScope(sa, () -> {
                try {
                    return containerProvider.get().lookup(ss);
                } catch (ComponentLookupException e) {
                    throw new RuntimeException(e);
                }
            });
        }
    
        static class BridgeInjectorImpl extends InjectorImpl {
            final Provider<BeanLocator> locator;
            final Binder binder;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top