Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 3,054 for throws (0.03 sec)

  1. src/main/java/jcifs/smb/SpnegoContext.java

            } catch (final CIFSException e) {
                throw new CIFSException("Failed to verify mechanismListMIC", e);
            }
        }
    
        /**
         * @param mechs
         * @return
         * @throws CIFSException
         */
        private static byte[] encodeMechs(final ASN1ObjectIdentifier[] mechs) throws CIFSException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("close calls release and decrements usage; double release throws")
        void closeAndReleaseBehavior() {
            // Validates usage counting and that an extra release() throws RuntimeCIFSException
            // First close -> usage 1 -> 0, triggers treeConnection.release()
            handle.close();
            verify(treeConnection, times(1)).release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

                + " see the Javadoc for Files.createTempDir().";
    
        @Override
        File createTempDir() {
          throw new IllegalStateException(MESSAGE);
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
          throw new IOException(MESSAGE);
        }
      }
    
      private TempFileCreator() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Monitor.java

       *
       * @throws InterruptedException if interrupted while waiting
       */
      public void enterInterruptibly() throws InterruptedException {
        lock.lockInterruptibly();
      }
    
      /**
       * Enters this monitor. Blocks at most the given time, and may be interrupted.
       *
       * @return whether the monitor was entered
       * @throws InterruptedException if interrupted while waiting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            assertFalse(target.isOpen());
            assertTrue(target.isStale());
        }
    
        @Test
        @DisplayName("getInput and getOutput throw after close")
        void testGetInputOutputAndClosed() throws CIFSException {
            // After closing the handle, further calls throw
            target.close();
            CIFSException e1 = assertThrows(SmbException.class, target::getInput);
    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/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertNotNull(result);
            assertSame(allocation, result);
        }
    
        @Test
        void testGetInfoWithClass_Incompatible() throws Exception {
            // Test getInfo with incompatible class throws exception
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Set info to SmbInfoAllocation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      @DoNotCall("Always throws UnsupportedOperationException")
      public void addAll(RangeSet<C> other) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)
                throws ProjectBuildingException {
            return buildStandaloneSuperProject(localRepository, null);
        }
    
        @Override
        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            return this;
        }
    
        /**
         * Extracts data from the input stream using the configured parameters.
         *
         * @return the extracted data
         * @throws MaxLengthExceededException if content length exceeds maximum allowed
         * @throws ExtractException if extraction fails
         */
        public ExtractData extract() {
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        private final ServerSocket serverSocket;
    
        private MyServerExampleWithFrq() throws IOException {
          this.serverSocket = new ServerSocket(0);
        }
    
        static MyServerExampleWithFrq create(AtomicBoolean finalizeReferentRan) throws IOException {
          MyServerExampleWithFrq myServer = new MyServerExampleWithFrq();
          ServerSocket serverSocket = myServer.serverSocket;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top