- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 2,976 for throwIt (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
assertEquals( "Exception while executing callback: MyListener custom-label", logHandler.getStoredLogRecords().get(0).getMessage()); } public void testEnqueueAndDispatch_multithreaded() throws InterruptedException { Object listener = new Object(); ExecutorService service = newFixedThreadPool(4); ListenerCallQueue<Object> queue = new ListenerCallQueue<>(); try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
private PythonJob pythonJob; private TestProcessHelper testProcessHelper; private TestFessConfig testFessConfig; private TestServletContext testServletContext; @Override public void setUp() throws Exception { super.setUp(); pythonJob = new PythonJob(); // Setup test components testProcessHelper = new TestProcessHelper();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
* * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order * of {@code map}. * * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some * map entries may have been added to the bimap before the exception was thrown. */ @Override void putAll(Map<? extends K, ? extends V> map); // Views /** * {@inheritDoc} *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
@Override public String apply(Integer input) { if (input.intValue() == VALID_INPUT_DATA) { return RESULT_DATA; } else { throw WRAPPED_EXCEPTION; } } } public void testFutureGetThrowsFunctionException() throws Exception { inputFuture.set(EXCEPTION_DATA); listener.assertException(WRAPPED_EXCEPTION); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2K bytes - Viewed (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"); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
} @Test @DisplayName("findUNITermination should throw exception when termination not found") void testFindUNITerminationNotFound() { // Given byte[] bufferWithoutTermination = "Hello".getBytes(StandardCharsets.UTF_16LE); // When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceededRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
} } @Test @DisplayName("Decode with MORE_PROCESSING_REQUIRED should parse blob and flags") void testDecodeMoreProcessingParsesBlobAndFlags() throws Exception { Smb2SessionSetupResponse resp = newResponse(); byte[] buf = new byte[256]; int headerStart = 0; long expectedSessionId = 0x1122334455667788L;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
@Override public Integer next(Integer value) { throw new AssertionError(); } @Override public Integer previous(Integer value) { throw new AssertionError(); } @Override public long distance(Integer start, Integer end) { throw new AssertionError(); } }; public void testCreate_noMin() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
} private void parse(final byte[] material) throws IOException { for (int i = 0; i < 8; i++) { if (material[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } if (readULong(material, 8) != 3) { throw new IOException("Not a Type 3 message."); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
@BeforeEach void setUp() throws Exception { source = new Source(); projectArtifact = createArtifactSpec("project", "1.0", null); } @Test @Disabled("works, but we don't fail on cycles presently") void testCircularDependencyNotIncludingCurrentProject() throws ArtifactResolutionException, InvalidVersionSpecificationException {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 42.7K bytes - Viewed (0)