Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 3,282 for throwIt (0.22 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertTrue(e.getMessage().contains("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = new Parent();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

                    // If we had a non-critical destroy failure, throw it now
                    if (failedToDestroy && destroyException != null) {
                        throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage());
                    }
    
                } catch (DestroyFailedException e) {
                    // Re-throw DestroyFailedException as-is
                    throw e;
                } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/jar/JarFileUtil.java

            return FileUtil.getCanonicalPath(jarFile);
        }
    
        /**
         * Closes the JAR file.
         * <p>
         * If {@link JarFile#close()} throws an exception, an error message is logged. The exception is not re-thrown.
         * </p>
         *
         * @param jarFile the JAR file (must not be {@literal null})
         */
        public static void close(final JarFile jarFile) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacSignatureTest.java

            baos.write(buffer.array(), 0, 4);
        }
    
        /**
         * Test constructor with KERB_CHECKSUM_HMAC_MD5 type.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the PAC is malformed
         */
        @Test
        void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException {
            // Prepare data
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

         */
        private SmbCopyUtil() {
        }
    
        /**
         * @param dest
         * @return
         * @throws SmbException
         * @throws SmbAuthException
         */
        static SmbFileHandleImpl openCopyTargetFile(final SmbFile dest, final int attrs, final boolean alsoRead) throws CIFSException {
            try {
                return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/io/BaseEncoding.java

          @Override
          public void write(int c) throws IOException {
            separatingAppendable.append((char) c);
          }
    
          @Override
          public void write(char[] chars, int off, int len) throws IOException {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public void flush() throws IOException {
            delegate.flush();
          }
    
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 06 14:51:47 GMT 2025
    - 41.7K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferProgressed(TransferEvent event) throws TransferCancelledException {
                    throw new TransferCancelledException();
                }
    
                @Override
                public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testToString() throws Exception {
        Service a = new NoOpService();
        Service b = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a, b));
        String toString = manager.toString();
        assertThat(toString).contains("NoOpService");
        assertThat(toString).contains("FailStartService");
      }
    
      public void testTimeouts() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            runner.ensureYellow();
            client = runner.client();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            // Delete test indices and settings indices for complete cleanup
            try {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

         *
         * @param <T> return type
         * @param operation the operation to execute
         * @return operation result
         * @throws CIFSException if circuit is open or operation fails
         */
        public <T> T executeWithCircuitBreaker(Supplier<T> operation) throws CIFSException {
            // Backpressure control
            if (backpressureEnabled && requestSemaphore != null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top