- Sort Score
- Num 10 results
- Language All
Results 1871 - 1880 of 2,310 for rethrow (0.16 seconds)
-
src/main/java/jcifs/smb/NtlmUtil.java
* * @param password the password to hash * @return nt password hash */ public static byte[] getNTHash(final String password) { if (password == null) { throw new NullPointerException("Password parameter is required"); } final MessageDigest md4 = Crypto.getMD4(); md4.update(Strings.getUNIBytes(password)); return md4.digest(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java
public void test_indexFromQueryLogReaderWithErrorThrowingReader() throws Exception { QueryLogReader errorReader = new QueryLogReader() { @Override public QueryLog read() { throw new RuntimeException("Simulated read error"); } @Override public void close() { } }; CountDownLatch latch = new CountDownLatch(1);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
android/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 {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this. Not all client code is compiled with NullAway. Do not make a parameter `@Nullable` just to check and throw a `NullPointerException` when it is `null`. ## Consequences * Classes are forced to have consistent nullability annotations. * IDE warnings become more accurate, reducing warnings fatigue.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
Headers responseHeaders = response.headers(); for (int i = 0; i < responseHeaders.size(); i++) { System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i)); } throw new IOException("Unexpected code " + response); } System.out.println(response.body().string()); } } public static void main(String... args) throws Exception {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
* Object#hashCode} and {@link Object#toString}. For example: * * <pre> * class Unsupported extends AbstractInvocationHandler { * protected Object handleInvocation(Object proxy, Method method, Object[] args) { * throw new UnsupportedOperationException(); * } * } * * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported()); * </pre> * * @author Ben Yu * @since 12.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
bufferIndex += 2; final int numAces = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; if (numAces > 4096) { throw new SMBProtocolDecodingException("Invalid SecurityDescriptor"); } this.aces = new ACE[numAces]; for (int i = 0; i < numAces; i++) { this.aces[i] = new ACE();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/DialectVersionTest.java
assertTrue(DialectVersion.SMB311.isSMB2()); } @Test @DisplayName("Should have correct dialect codes for SMB2+ versions") void testDialectCodes() { // SMB1 should throw UnsupportedOperationException assertThrows(UnsupportedOperationException.class, () -> { DialectVersion.SMB1.getDialect(); }); // SMB2+ versions should have valid dialect codes
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
return null; } catch (final ChildUrlsException | DataStoreCrawlingException e) { throw e; } catch (final Exception e) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final Object configId = dataMap.get(fessConfig.getIndexFieldConfigId()); throw new DataStoreCrawlingException(url, "Failed to add document. url: " + url + ", configId: " + configId, e); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 29.7K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 25 02:13:14 GMT 2025 - 28K bytes - Click Count (0)