- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,091 for thrown (0.07 sec)
-
android/guava/src/com/google/common/io/Closer.java
* <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown * by an attempt to close a resource will be thrown. * <li>Any exception caught when attempting to close a resource that is <i>not</i> thrown (because * another exception is already being thrown) is <i>suppressed</i>. * </ul> * * <p>An exception that is suppressed is added to the exception that <i>will</i> be thrown using
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Act + Assert CIFSException thrown = assertThrows(CIFSException.class, () -> SmbEnumerationUtil.doEnum(parent, "*", 0, null, null)); assertSame(differentException, thrown); } @Test @DisplayName("list wraps non-SmbException CIFSException properly") void list_wrapsOtherCIFSException() throws Exception { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
CIFSException thrown = assertThrows(CIFSException.class, () -> { cifsContextWrapper.getPipe(malformedUrl, pipeType); }); assertTrue(thrown.getMessage().contains("Invalid URL")); assertTrue(thrown.getCause() instanceof MalformedURLException); } @Test void testGetConfig() { // Test getConfig() method Configuration mockConfig = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException cause = new SomeCheckedException(); SomeChainingException thrown = new SomeChainingException(cause); assertThat(thrown).hasCauseThat().isSameInstanceAs(cause); assertThat(getCauseAs(thrown, SomeCheckedException.class)).isSameInstanceAs(cause); assertThat(getCauseAs(thrown, Exception.class)).isSameInstanceAs(cause); ClassCastException expected = assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
try { customCb.executeWithCircuitBreaker(() -> { throw new RuntimeException("non-critical error"); }, isFailure); fail("Should have thrown exception"); } catch (CIFSException e) { // Expected - exception is thrown but not counted as failure } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
updateCalls.add(user); if (updateThrowsException) { throw new RuntimeException("Update failed"); } } @Override public void delete(User user) { deleteCalls.add(user); if (deleteThrowsException) { throw new RuntimeException("Delete failed"); } } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException cause = new SomeCheckedException(); SomeChainingException thrown = new SomeChainingException(cause); assertThat(thrown).hasCauseThat().isSameInstanceAs(cause); assertThat(getCauseAs(thrown, SomeCheckedException.class)).isSameInstanceAs(cause); assertThat(getCauseAs(thrown, Exception.class)).isSameInstanceAs(cause); ClassCastException expected = assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
* @throws FileAccessException * If the file cannot be accessed or created. */ public DynamicProperties(final File file) { // check path if (file == null) { throw new FileAccessException("ECL0108"); } this.propertiesFile = file;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0)