Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 2,867 for exception (1.42 sec)

  1. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            verify(filter, times(2)).accept(resource);
            verify(resource, times(2)).close();
        }
    
        @Test
        @DisplayName("Iterator with filter throwing exception")
        void iteratorWithFilterException() throws Exception {
            // Setup: first attempt throws, second succeeds
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

    import org.apache.maven.project.artifact.InvalidDependencyVersionException;
    import org.apache.maven.settings.Settings;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultPluginManager implements PluginManager {
    
        private final PlexusContainer container;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
                public ASN1Primitive toASN1Primitive() {
                    // Return a primitive that will throw IOException when getEncoded is called
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                    final byte[] buf = new byte[1024];
                    while ((is.read(buf)) != -1) {}
                } catch (final Exception ignored) {} finally {
                    try {
                        is.close();
                    } catch (final Exception ignored) {}
                }
            } catch (final Exception ignored) {}
        }
    
        protected void handleFileUploadException(final FileUploadException e) throws ServletException {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessorTest.java

            // Execute - should not throw any exception even with null
            processor.process(null);
        }
    
        public void test_processWithEmptyResponseData() {
            // Test process method with empty ResponseData
            NullResponseProcessor processor = new NullResponseProcessor();
            ResponseData responseData = new ResponseData();
    
            // Execute - should not throw any exception
            processor.process(responseData);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. tests/test_ws_router.py

    
    def test_depend_validation():
        """
        Verify that a validation in a dependency invokes the correct exception handler
        """
        caught = []
    
        @websocket_middleware
        async def catcher(websocket, call_next):
            try:
                return await call_next()
            except Exception as e:  # pragma: no cover
                caught.append(e)
                raise
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        }
    
        @Test
        void byteArrayBlob() throws Exception {
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, blobCred());
            assertArrayEquals(blobCred(), (byte[]) getField(obj, "blob"));
        }
    
        @Test
        void writeParameterWordsWithBlob() throws Exception {
            setupNegotiateStubs();
            when(mockConfig.getVcNumber()).thenReturn(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      @Param({"0", "1", "5", "10"})
      int numListeners;
    
      @Param({"0", "1", "5", "10"})
      int numThreads;
    
      private final Set<Thread> blockedThreads = new HashSet<>();
    
      @BeforeExperiment
      void setUp() throws Exception {
        if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) {
          throw new SkipThisScenarioException();
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        }
    
        @Override public Socket accept() throws IOException {
          try {
            UnixSocketChannel channel = serverSocketChannel.accept();
            return new TunnelingUnixSocket(path, channel, endpoint);
          } catch (ClosedChannelException e) {
            SocketException exception = new SocketException();
            exception.initCause(e);
            throw exception;
          }
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
Back to top