Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,054 for throws (0.17 sec)

  1. 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 {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean removeIf(Predicate<? super E> filter) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("open(): invalid URL path without trailing slash throws SmbException")
        void invalidUrlPathThrows() throws Exception {
            // Override the default setup for this specific test
            URL invalidUrl = new URL("smb://server/share/dir"); // no trailing '/'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        public void test_FilePurgeVisitor_visitFileFailed() throws IOException {
            // Test that visitFileFailed doesn't throw exception
            // This is primarily a logging method, so we just verify no exception
            assertTrue(true);
        }
    
        // Test FilePurgeVisitor postVisitDirectory
        public void test_FilePurgeVisitor_postVisitDirectory() throws IOException {
            // Test empty directory deletion logic
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeImplTest.java

        @Test
        void testDfs() throws SmbException {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertFalse(tree.isDfs());
            assertFalse(tree.isInDomainDfs());
            tree.markDomainDfs();
            assertTrue(tree.isInDomainDfs());
        }
    
        // Test case for treeConnect method with SMB1
        @Test
        void testTreeConnectSmb1() throws CIFSException, IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

                throws ArtifactInstallationException {
            for (ArtifactTransformation transform : artifactTransformations) {
                transform.transformForInstall(artifact, localRepository);
            }
        }
    
        @Override
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository)
                throws ArtifactDeploymentException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
        assertTrue(future.set("value"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Close and verify subsequent calls throw
            handle.close();
            CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw");
            assertTrue(ex1.getMessage().contains("Already closed"));
            CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw");
            assertTrue(ex2.getMessage().contains("Already closed"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            /**
             * Accepts a writer.
             * @param writer A writer.
             * @throws IOException if an I/O error occurs.
             * @throws TikaException if a Tika exception occurs.
             * @throws SAXException if a SAX exception occurs.
             */
            void accept(Writer writer) throws IOException, TikaException, SAXException;
        }
    
        /**
         * Sets the output encoding.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        void treeConnectLogon_happy() throws SmbException {
            // doNothing by default
            session.treeConnectLogon();
            verify(session, times(1)).treeConnectLogon();
        }
    
        // Error propagation: connect to logon share throws SmbException
        @Test
        @DisplayName("treeConnectLogon throws SmbException when underlying call fails")
        void treeConnectLogon_throws() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top