Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2771 - 2780 of 3,282 for throwIt (0.04 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.Model;
    
    /**
     * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown
     * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
     * the problem.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         * {@code <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the
         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

      val parts =
        when {
          requestLine != null -> requestLine.split(' ', limit = 3)
          else -> return DEFAULT_REQUEST_LINE_HTTP_1
        }
    
      if (parts.size != 3) {
        throw ProtocolException("unexpected request line: $requestLine")
      }
    
      return RequestLine(
        method = parts[0],
        target = parts[1],
        version = parts[2],
      )
    }
    
    internal class RequestLine(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          } else {
            if (failure != null) failures += failure
          }
        }
    
        if (failures.isNotEmpty()) {
          for (failure in failures) {
            println(failure)
          }
          throw failures.first()
        }
      }
    
      private fun testToAscii(
        input: String,
        output: String?,
        comment: String?,
      ) {
        val url = "https://$input/".toHttpUrlOrNull()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

            }
          } else {
            System.err.println("No main for $className")
          }
        } catch (ite: InvocationTargetException) {
          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean =
        when (className) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

                } else {
                    to.getAsFile().get().delete();
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ExplicitOrdering.java

      public int compare(T left, T right) {
        return rank(left) - rank(right); // safe because both are nonnegative
      }
    
      private int rank(T value) {
        Integer rank = rankMap.get(value);
        if (rank == null) {
          throw new IncomparableValueException(value);
        }
        return rank;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof ExplicitOrdering) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

      AbstractImmutableBiMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        BiMap<K, V> bimap = (BiMap<K, V>) map;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

        protected String prepareConfigFile() {
            return "app.xml";
        }
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        @Override
        public void setUp() throws Exception {
            // create runner instance
            runner = new OpenSearchRunner();
            // create ES nodes
            final String clusterName = UUID.randomUUID().toString();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 15.5K bytes
    - Click Count (0)
Back to Top