Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 3,054 for throws (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected DefaultRepositorySystemSession initRepoSession() throws Exception {
            DefaultRepositorySystemSession session = super.initRepoSession();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

         * @throws PACDecodingException if the token cannot be decoded
         */
        public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException {
            this(parseSequence(token), keys);
        }
    
        private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException {
            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ApReq");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformationManager.java

         *
         * @param artifact           Artifact to be transformed.
         * @param request the repositories to check
         */
        void transformForResolve(Artifact artifact, RepositoryRequest request)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
         * Take in an artifact and return the transformed artifact for locating in the remote repository. If no
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

         * @param smbFile the SmbFile directory to list
         * @return array of SmbFile objects representing the directory contents
         * @throws SmbException if an error occurs
         */
        public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException {
            if (!smbFile.isDirectory()) {
                throw new SmbException("Not a directory: " + smbFile.getPath());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
      public E takeFirst() throws InterruptedException {
        return delegate().takeFirst();
      }
    
      @Override
      public E takeLast() throws InterruptedException {
        return delegate().takeLast();
      }
    
      @Override
      public @Nullable E pollFirst(long timeout, TimeUnit unit) throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachFile() throws Exception {
            final File rootDir = ResourceUtil.getBuildDir(getClass());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            // The iterator returns null when no elements, doesn't throw exception
            assertNull(iterator.next(), "Should return null when no elements");
        }
    
        /**
         * Test close method delegates to underlying iterator.
         */
        @Test
        void testClose() throws CIFSException {
            // Given
            when(mockDelegate.hasNext()).thenReturn(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

     *
     */
    public class IntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToInteger() throws Exception {
            assertEquals(Integer.valueOf("1000"), IntegerConversionUtil.toInteger("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveInt() throws Exception {
            assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000"));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        void testGetByNameWithLocalhost() throws UnknownHostException {
            // When
            Address address = nameServiceClient.getByName("localhost");
    
            // Then
            assertNotNull(address, "Should return address for localhost");
        }
    
        @Test
        @DisplayName("Should handle IP address in getByName")
        void testGetByNameWithIPAddress() throws UnknownHostException {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top