Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1671 - 1680 of 2,614 for throwIt (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

             * </ul>
             *
             * @param project the path to search for a POM file
             * @return the path to the located POM file, or null if no POM can be found
             * @throws NullPointerException if project is null
             */
            @Nullable
            Path locateExistingPom(@Nonnull Path project);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. docs/changelogs/changelog_3x.md

     *  Fix: Release the connection if `Authenticator` throws an exception.
     *  Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return
        value has always been nullable but it wasn't declared properly.
     *  Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now
        throw the initial exception which is most likely to be actionable.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertNull(leaseManager.getLease(key2));
            assertTrue(leaseManager.getAllLeases().isEmpty());
        }
    
        @Test
        @DisplayName("Should clean up expired leases")
        void testCleanupExpiredLeases() throws InterruptedException {
            String path = "/share/expired.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
    
            Smb2LeaseKey key = leaseManager.requestLease(path, requestedState);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    class ConsumerPomArtifactTransformerTest {
    
        @Test
        void transform() throws Exception {
            RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class);
            SessionData sessionDataMock = Mockito.mock(SessionData.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          override fun fromDer(reader: DerReader): Pair<DerAdapter<*>, Any?> {
            val peekedHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected a value at $reader")
    
            val choice =
              choices.firstOrNull { it.matches(peekedHeader) }
                ?: throw ProtocolException(
                  "expected a matching choice but was $peekedHeader at $reader",
                )
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/exception/PropertyNotFoundRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when a property cannot be found.
     *
     * @author higa
     *
     */
    public class PropertyNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -5177019197796206774L;
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenContext.java

            super(invokerRequest, containerCapsuleManaged, mavenOptions);
        }
    
        public SimplexTransferListener simplexTransferListener;
        public Maven maven;
    
        @Override
        public void doCloseContainer() throws Exception {
            try {
                super.doCloseContainer();
            } finally {
                maven = null;
            }
        }
    
        @Override
        public MavenOptions options() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *     visit(t.getGenericComponentType());
     *   }
     *   protected void visitTypeVariable(TypeVariable<?> t) {
     *     throw new IllegalArgumentException("Cannot contain type variable.");
     *   }
     *   protected void visitWildcardType(WildcardType t) {
     *     throw new IllegalArgumentException("Cannot contain wildcard type.");
     *   }
     * }.visit(type);
     * }
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top