- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,541 for throwIt (0.07 sec)
-
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message.writeULong(invalidType, 8, Type2Message.NTLMSSP_TYPE1); // When & Then IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidType)); assertEquals("Not a Type 2 message.", thrown.getMessage()); } } @Nested @DisplayName("Default Flags Tests") class DefaultFlagsTests { @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} /** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final @Nullable Entry<K, V> pollFirstEntry() { throw new UnsupportedOperationException(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
return FileUtil.getCanonicalPath(jarFile); } /** * Closes the JAR file. * <p> * If {@link JarFile#close()} throws an exception, an error message is logged. The exception is not re-thrown. * </p> * * @param jarFile the JAR file (must not be {@literal null}) */ public static void close(final JarFile jarFile) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
* Test a successful NTLM authentication handshake. * This is a simplified test that verifies the basic flow without full NTLM protocol simulation. * @throws IOException * @throws SecurityException */ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behaviorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code * stream.collect(MoreCollectors.onlyElement())}. * * @throws NoSuchElementException if the iterable is empty * @throws IllegalArgumentException if the iterable contains multiple elements */ @ParametricNullness public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @param stream the ASN.1 input stream * @return next object from stream cast to type * @throws PACDecodingException if types are incompatible * @throws IOException if reading from stream fails */ public static <T extends ASN1Primitive> T as(final Class<T> type, final ASN1InputStream stream) throws PACDecodingException, IOException { return as(type, stream.readObject()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testCopyTo_appendable() throws IOException { StringBuilder builder = new StringBuilder(); assertEquals(STRING.length(), source.copyTo(builder)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertEquals(STRING, builder.toString()); } public void testCopyTo_charSink() throws IOException { TestCharSink sink = new TestCharSink();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testCopyTo_appendable() throws IOException { StringBuilder builder = new StringBuilder(); assertEquals(STRING.length(), source.copyTo(builder)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertEquals(STRING, builder.toString()); } public void testCopyTo_charSink() throws IOException { TestCharSink sink = new TestCharSink();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
// Verify witness service is authorized if (!isAuthorizedWitnessServer(witnessServer)) { throw new SecurityException("Unauthorized witness server: " + witnessServer); } } public void validateNotification(WitnessNotification notification) throws SecurityException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
* @return {@link ResultSet} * @throws SQLRuntimeException * If a {@link SQLException} occurs. */ public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException { assertArgumentNotNull("ps", ps); try { return ps.executeQuery(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.9K bytes - Viewed (0)