- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 3,747 for throwIt (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
class ReadBytesWireFormatTests { @Test @DisplayName("Should correctly parse valid SMB2 Close response") void testReadBytesWireFormatWithValidData() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; int bufferIndex = 0; // Structure Size (2 bytes) - must be 60Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FutureCallback.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* libraries may customize this behavior.) * * A good way to signal a failure is with a synthetic HTTP response: * * ```kotlin * @Throws(IOException::class) * override fun intercept(chain: Interceptor.Chain): Response { * if (myConfig.isInvalid()) { * return Response.Builder() * .request(chain.request())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
throw ProtocolException( "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}", ) } return response } catch (e: IOException) { if (sendRequestException != null) { sendRequestException.addSuppressed(e) throw sendRequestException } throw e } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
class MvnDirectoryCreationTests { @Test @DisplayName("should create .mvn directory when model version is not 4.1.0") void shouldCreateMvnDirectoryWhenModelVersionNot410() throws Exception { Path projectDir = tempDir.resolve("project"); Files.createDirectories(projectDir); // Create a simple POM file String pomXml = PomBuilder.create()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
} /** * Updates the dictionary file with the given input stream. * * @param in The input stream. * @throws IOException If an I/O error occurs. */ public synchronized void update(final InputStream in) throws IOException { try (KuromojiUpdater updater = new KuromojiUpdater(null)) { reload(updater, in); } } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
return method.equals(getAllStatesMethod) ? getAllStates() : invokeListMethod(method, args); } private Set<List<Integer>> getAllStates() { return allStates; } private Object invokeListMethod(Method method, Object[] args) throws Throwable { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* @param repositories the list of repositories to validate, may be {@code null} * @return the same list if validation passes, or {@code null} if input was {@code null} * @throws IllegalArgumentException if the list contains duplicate repositories * @throws IllegalArgumentException if the list contains null repository entries */ default List<RemoteRepository> validate(List<RemoteRepository> repositories) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
public Set<MavenProject> getActiveProjects( MavenExecutionRequest request, List<MavenProject> projects, List<ProjectActivation.ProjectActivationSettings> projectSelectors) throws MavenExecutionException { Set<MavenProject> resolvedOptionalProjects = new LinkedHashSet<>(); Set<ProjectActivation.ProjectActivationSettings> unresolvedSelectors = new HashSet<>();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange String msg = "downgrade not allowed"; // Act & Assert - verify thrown type and message SMBProtocolDowngradeException thrown = assertThrows(SMBProtocolDowngradeException.class, () -> { throw new SMBProtocolDowngradeException(msg); }); assertEquals(msg, thrown.getMessage()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0)