- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,327 for Exceptions (0.25 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
} public void testSetFailure() throws Exception { assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testSetFailureNull() throws Exception { assertThrows(NullPointerException.class, () -> future.setException(null)); assertFalse(future.isDone()); assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
when(response.getHeaderStart()).thenReturn(0); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw exception for unknown quota info class"); assertTrue(exception.getMessage().contains("Unknown quota info class")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
throws Exception { try { future.get(); fail("Expected ExecutionException"); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(expectedCause); } } /** invokeAny(null) throws NPE */ public void testInvokeAnyImpl_nullTasks() throws Exception {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * Unified exception class for SMB operations providing enhanced error handling, * retry policies, and contextual information. * * This exception consolidates the various SMB exception types and provides: * - Standardized error codes * - Automatic retry policies * - Rich contextual information * - Error categorization
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
assertNotNull(result); assertSame(allocation, result); } @Test void testGetInfoWithClass_Incompatible() throws Exception { // Test getInfo with incompatible class throws exception response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Set info to SmbInfoAllocation
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
org.apache.maven.project.ProjectBuilder projectBuilder = getContainer().lookup(org.apache.maven.project.ProjectBuilder.class); // single project build entry point Exception ex = assertThrows(Exception.class, () -> projectBuilder.build(pomFile, configuration)); assertTrue(ex.getMessage().contains("Received non-all-whitespace CHARACTERS or CDATA event")); // multi projects build entry pointRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
} @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void setUp() throws Exception { converter = new AnalyzerConverter(client, settings); } private static void createTestIndex() throws Exception { // Create index with custom analyzersRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 12.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java
model.setVersion(version); model.setBuild(new Build()); return new MavenProject(model); } @Test void testShouldNotFailWhenPluginDepReferencesCurrentProject() throws Exception { MavenProject project = createProject("group", "artifact", "1.0"); Build build = project.getModel().getBuild(); Plugin plugin = createPlugin("other.group", "other-artifact", "1.0");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
DcerpcException exception = new DcerpcException(message, cause); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor."); assertEquals(message, exception.getMessage(), "Message should match the input."); assertEquals(cause, exception.getCause(), "Cause should match the input.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ // @Test // public void testToDate_Null() throws Exception { // assertThat(toDate(null, Locale.JAPAN), is(nullValue()));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K bytes - Viewed (0)