Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,004 for exception (0.07 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals(unicodeFileName, notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with non-aligned nextEntryOffset throws exception")
        void testReadParametersWireFormatNonAlignedOffset() throws Exception {
            ByteBuffer buffer = ByteBuffer.allocate(100);
            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
            // Create notification with non-aligned nextEntryOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

    import org.codelibs.fess.crawler.entity.SitemapFile;
    import org.codelibs.fess.crawler.entity.SitemapSet;
    import org.codelibs.fess.crawler.entity.SitemapUrl;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.SitemapsException;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXNotRecognizedException;
    import org.xml.sax.SAXNotSupportedException;
    import org.xml.sax.helpers.DefaultHandler;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle exception")
            void testException() {
                Exception testException = new Exception("Test exception");
    
                assertFalse(echoResponse.isError());
                assertFalse(echoResponse.isReceived());
                assertNull(echoResponse.getException());
    
                echoResponse.exception(testException);
    
                assertTrue(echoResponse.isError());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

                String wagon, final Exception exception, final int requestType, ArtifactTransferResource artifact) {
            this(wagon, TRANSFER_ERROR, requestType, artifact);
    
            this.exception = exception;
        }
    
        public ArtifactTransferResource getResource() {
            return artifact;
        }
    
        /**
         * @return Returns the exception.
         */
        public Exception getException() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6));
        }
    
        @Test
        @DisplayName("Should throw exception when buffer too small for path")
        void testBufferTooSmallForPath() throws Exception {
            // Given
            String longPath = "\\\\server\\very_long_share_name_that_exceeds_buffer";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.ResolutionErrorHandler;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.DefaultMavenExecutionResult;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.impl.DefaultArtifact;
    import org.apache.maven.impl.DefaultArtifactCoordinatesFactory;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbSessionTest.java

            @DisplayName("Should handle close with exception gracefully")
            void shouldHandleCloseExceptionGracefully() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                Exception testException = new Exception("Test close exception");
                doThrow(testException).when(mockSession).close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                                successCount.incrementAndGet();
                            } catch (Exception e) {
                                synchronized (exceptions) {
                                    exceptions.add(e);
                                }
                            }
                        }
                        long threadEnd = System.nanoTime();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return the exception or {@code empty()} if none
         */
        Optional<Exception> getException();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top