- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 1,914 for throwIt (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
val routes = mutableListOf<Route>() fun onlyResponse() = responses.single() fun onlyRoute() = routes.single() @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { if (route == null) throw NullPointerException("route == null") responses += response routes += route if (!schemeMatches(response) || credential == null) return null
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
*/ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMap(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int size = stream.readInt();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 14:46:34 GMT 2025 - 37.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
byte[] buffer = new byte[0]; assertThrows(ArrayIndexOutOfBoundsException.class, () -> cmd.readBytesWireFormat(buffer, 0)); } /** * Test round‑trip encoding/decoding of ranges using the public * {@link LockingAndXRange} encode/decode methods. */ @Test void lockRangeEncodeDecodeRoundTrip() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
this.settingsValidator = settingsValidator; return this; } @Override public SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException { DefaultSettingsProblemCollector problems = new DefaultSettingsProblemCollector(null); Source globalSettingsSource =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
* * @param result the list of search results * @param consumer the BiConsumer to process entry DN and role name * @throws NamingException if LDAP naming exception occurs */ protected void processSearchRoles(final List<SearchResult> result, final BiConsumer<String, String> consumer) throws NamingException { processSearchRoles(result, entryDn -> { final String name = getSearchRoleName(entryDn);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 86.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
try { ruleManager.addRule(-1, rule2); fail("Should throw IndexOutOfBoundsException for negative index"); } catch (IndexOutOfBoundsException e) { // Expected } try { ruleManager.addRule(5, rule2); fail("Should throw IndexOutOfBoundsException for index > size"); } catch (IndexOutOfBoundsException e) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 23.8K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* @throws GeneralSecurityException if a cryptographic error occurs * @throws CIFSException if a CIFS protocol error occurs */ public Type3Message(final CIFSContext tc, final Type2Message type2, final String targetName, final String password, final String domain, final String user, final String workstation, final int flags) throws GeneralSecurityException, CIFSException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
outputStream.close(); // When & Then - after close, tmp is null so write(int) will throw NullPointerException // This is the actual behavior of the implementation assertThrows(NullPointerException.class, () -> outputStream.write(65)); } @Test void testWriteNullArray() throws CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
assertThat(request.method).isEqualTo("GET") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.body).isNull() } @Test @Throws(IOException::class) fun put() { val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest() assertThat(request.method).isEqualTo("PUT")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java
return applicationVersion; } @Override public void initialize() throws InitializationException { String mavenVersion = rtInfo.getMavenVersion(); if (mavenVersion == null || mavenVersion.isEmpty()) { throw new InitializationException("Unable to read Maven version from maven-core"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2K bytes - Click Count (0)