Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1041 - 1050 of 3,637 for throwIf (0.09 seconds)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * Returns the signing key for SMB signing.
         *
         * @param challenge the server challenge bytes
         * @return the signing key
         * @throws SmbException if an error occurs generating the signing key
         */
        public byte[] getSigningKey(final byte[] challenge) throws SmbException {
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
            case 2:
                final byte[] signingKey = new byte[40];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            // Test that the exception has proper serialVersionUID
            DataStoreException exception = new DataStoreException("Serialization test");
    
            // Check that it's a RuntimeException and can be thrown
            try {
                throw exception;
            } catch (DataStoreException e) {
                assertEquals("Serialization test", e.getMessage());
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

        @Inject
        public DefaultProjectArtifactFactory(ArtifactFactory artifactFactory) {
            this.artifactFactory = artifactFactory;
        }
    
        @Override
        public Set<Artifact> createArtifacts(MavenProject project) throws InvalidDependencyVersionException {
            return createArtifacts(artifactFactory, project.getDependencies(), null, null, project);
        }
    
        public static Set<Artifact> createArtifacts(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

                causes.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        public final void closeContainer() throws Exception {
            if (containerCapsuleManaged) {
                doCloseContainer();
            }
        }
    
        public void doCloseContainer() throws Exception {
            if (containerCapsule != null) {
                try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              if (exception == null) {
                exception = t;
              } else {
                exception.addSuppressed(t);
              }
            }
          }
        }
        if (exception != null) {
          throwIfUnchecked(exception);
          throw new RuntimeException("failure during tearDown", exception);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/TearDownStack.java

            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              if (exception == null) {
                exception = t;
              } else {
                exception.addSuppressed(t);
              }
            }
          }
        }
        if (exception != null) {
          throwIfUnchecked(exception);
          throw new RuntimeException("failure during tearDown", exception);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

      }
    
      public void testNoForwardingOfDefaultMethod() throws Exception {
        ExecutorService delegate =
            new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60, SECONDS, new SynchronousQueue<>()) {
              @Override
              public void close() {
                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(WRAPPED_EXCEPTION);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/JobHelper.java

                }
            } catch (final Exception e) {
                throw new ScheduledJobException("Failed to delete Job: " + scheduledJob, e);
            }
        }
    
        /**
         * Removes a scheduled job completely from the job manager.
         *
         * @param scheduledJob the scheduled job to remove
         * @throws ScheduledJobException if the job cannot be removed
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                throw new SearchEngineClientException("Failed to update doc  " + id, e);
            }
        }
    
        /**
         * Performs bulk update operations using a custom bulk request builder.
         *
         * @param consumer Consumer function to configure the bulk request builder
         * @return true if all bulk operations were successful, false otherwise
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
Back to Top