- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,174 for Exception (0.17 sec)
-
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
* * @param msg the error message * @param rootCause the underlying cause of this exception */ public DcerpcException(final String msg, final Throwable rootCause) { super(msg); this.rootCause = rootCause; } /** * Returns the DCE/RPC error code associated with this exception * * @return the error code */ public int getErrorCode() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
@DisplayName("Test readBytesWireFormat with invalid structure size throws exception") void testReadBytesWireFormatInvalidStructureSize() { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to 4 (invalid, should be 2) SMBUtil.writeInt2(4, buffer, bufferIndex); SMBProtocolDecodingException exception =Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
byte[] tooSmall = new byte[10]; PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall)); assertEquals("Malformed PAC", exception.getMessage()); } @Test @DisplayName("Test getters return expected values using mocks") void testGetters() throws Exception { // Use mocking to test getters without complex PAC data creation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
// Should get an exception when we try to serialize. RuntimeException ex = assertThrows(RuntimeException.class, () -> reserialize(memoizedSupplier)); assertThat(ex).hasCauseThat().isInstanceOf(NotSerializableException.class); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testMemoizeSerializable() throws Exception {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
SMBUtil.writeInt2(structureSize, buffer, offset); // When & Then SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, offset)); assertEquals("Structure size is not 16", exception.getMessage()); } @DisplayName("Should parse different share types correctly") @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java
fail("Should throw CrawlerSystemException"); } catch (CrawlerSystemException e) { assertEquals("Transform exception", e.getMessage()); } } /** * Test exception handling in getData */ public void test_exceptionHandling_getData() {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 28K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
TestCloseable c2 = closer.register(TestCloseable.normal()); IOException exception = new IOException(); try { try { throw exception; } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } catch (Throwable expected) { assertSame(exception, expected); } assertTrue(c1.isClosed()); assertTrue(c2.isClosed());
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/org/codelibs/fess/score/ScoreUpdaterTest.java
public long process() { return returnValue; } } // Test class that throws exception private static class ExceptionScoreBooster extends ScoreBooster { @Override public long process() { throw new RuntimeException("Test exception"); } } // Test class with priority tracking
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0)