Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1811 - 1820 of 3,054 for throws (0.32 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
            try (InputStream is = source.getInputStream();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
    
            if (structureSize != 9) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         *
         * @param crawlingInfo the crawling information entity to prepare for storage
         * @throws FessSystemException if the crawling information is null
         */
        protected void setupStoreCondition(final CrawlingInfo crawlingInfo) {
            if (crawlingInfo == null) {
                throw new FessSystemException("Crawling Session is null.");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         * @return the result of the image processing operation
         * @throws IOException if an error occurs during image reading or writing operations
         */
        protected Result saveImage(final ImageInputStream input, final File outputFile) throws IOException {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            request.encode(buffer1, 0);
            request.encode(buffer2, 0);
    
            assertArrayEquals(buffer1, buffer2);
        }
    
        @Test
        @DisplayName("Test encode with insufficient buffer throws exception")
        void testEncodeWithInsufficientBuffer() {
            ValidateNegotiateInfoRequest request =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            assertTrue(flag.get());
        }
    
        public void test_shutdownListener_exceptionHandling() {
            // Test exception thrown in shutdown listener
            jobExecutor.addShutdownListener(new ShutdownListener() {
                @Override
                public void onShutdown() {
                    throw new RuntimeException("Test exception");
                }
            });
    
            try {
                jobExecutor.shutdown();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        Thread interruptingThread = new Thread(interruptingTask);
        interruptingThread.start();
        tearDownAccepter.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                interruptingTask.stopInterrupting();
                interruptingThread.interrupt();
                joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
                Thread.interrupted();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Interner.java

       * intern(a)} is permitted to return one instance now and a different instance later if the
       * original interned instance was garbage-collected.
       *
       * <p><b>Warning:</b> do not use with mutable objects.
       *
       * @throws NullPointerException if {@code sample} is null
       */
      E intern(E sample);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

         * @param context the Maven session, must not be {@code null}
         * @since 3.0 (addition of the <code>MavenSession</code> parameter)
         */
        ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException;
    
        /**
         * Stores the toolchain into build context for later use by toolchain-aware plugins.
         *
         * @param toolchain the toolchain to store, must not be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top