Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2011 - 2020 of 3,670 for throwIf (0.05 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

        protected WagonManager wagonManager;
    
        @Override
        public void transformForResolve(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            RepositoryRequest request = new DefaultRepositoryRequest();
            request.setLocalRepository(localRepository);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

                throw new RuntimeException("Cycle building $className. Currently building $currentlyBuilding")
            }
            currentlyBuilding.addLast(className)
            try {
                ClassMetaData classMetaData = classMetaData.find(className)
                if (!classMetaData) {
                    if (!className.contains('.internal.')) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

            } catch (final Exception e) {
                return;
            }
    
            String throwableStr = null;
            final Throwable thrown = event.getThrown();
            if (thrown != null) {
                final StringWriter sw = new StringWriter();
                thrown.printStackTrace(new PrintWriter(sw));
                throwableStr = sw.toString();
                if (throwableStr.length() > MAX_THROWABLE_LENGTH) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        }
    
        @Test
        void byteArrayBlob() throws Exception {
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, blobCred());
            assertArrayEquals(blobCred(), (byte[]) getField(obj, "blob"));
        }
    
        @Test
        void writeParameterWordsWithBlob() throws Exception {
            setupNegotiateStubs();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

     *
     */
    @Deprecated
    class OperatingSystemProfileActivatorTest extends AbstractProfileActivatorTest<OperatingSystemProfileActivator> {
    
        @Override
        @BeforeEach
        void setUp() throws Exception {
            activator = new OperatingSystemProfileActivator();
        }
    
        private Profile newProfile(ActivationOS.Builder activationBuilder) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        }
                        throw new ThumbnailGenerationException(e.getMessage());
                    } catch (final Exception e) {
                        throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url, e);
                    }
                }
                throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url + " (Redirect Loop)");
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

          }
    
          else -> {
            throw ProtocolException("unsupported method: $selectedMethod")
          }
        }
      }
    
      private fun acceptCommand(
        fromAddress: InetAddress,
        fromSource: BufferedSource,
        fromSink: BufferedSink,
      ) {
        // Read the command.
        val version = fromSource.readByte() and 0xff
        if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

         *
         * @param other the other resource locator to compare with
         * @return whether the paths share a common root
         * @throws CIFSException if an error occurs during comparison
         */
        boolean overlaps(SmbResourceLocator other) throws CIFSException;
    
        /**
         * Internal: for testing only
         *
         * @param dr the DFS referral data to process
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java

         * @param toolchains The toolchains to serialize, must not be {@code null}.
         * @throws IOException If the toolchains could not be serialized.
         */
        void write(Writer output, Map<String, Object> options, PersistedToolchains toolchains) throws IOException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverFactory.java

         *
         * @param type the type of conflict resolver to obtain
         * @return the conflict resolver
         * @throws ConflictResolverNotFoundException
         *          if the specified type was not found
         */
        ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
Back to Top