Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 3,747 for throw (0.02 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java

                    if (entry.getPr() == null) {
                        throw new GradleException(
                            "[" + path + "] must provide a [pr] number (only 'known-issue' and " + "'security' entries can omit this"
                        );
                    }
    
                    if (entry.getArea() == null) {
                        throw new GradleException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            }
    
            try {
                // last chance - classic model
                return Class.forName(name);
            } catch (final Exception e) {
                throw new TypeNotPresentException(name, e);
            } catch (final LinkageError e) {
                throw new TypeNotPresentException(name, e);
            }
        }
    
        /**
         * Creates an instance of the given implementation using the default constructor.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

        return eventBus;
      }
    
      /** Returns the event object that caused the subscriber to throw. */
      public Object getEvent() {
        return event;
      }
    
      /** Returns the object context that the subscriber was called on. */
      public Object getSubscriber() {
        return subscriber;
      }
    
      /** Returns the subscribed method that threw the exception. */
      public Method getSubscriberMethod() {
        return subscriberMethod;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

            if (project != project.getRootProject()) {
                throw new IllegalStateException(this.getClass().getName() + " can only be applied to the root project.");
            }
            GradleVersion minimumGradleVersion = GradleVersion.version(getResourceContents("/minimumGradleVersion"));
            if (GradleVersion.current().compareTo(minimumGradleVersion) < 0) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         * @return The object bound to <code>jndiName</code>.
         * @throws NamingRuntimeException
         *             Thrown if the initial context cannot be created.
         */
        public static Object lookup(final InitialContext ctx, final String jndiName) throws NamingRuntimeException {
            assertArgumentNotNull("ctx", ctx);
            assertArgumentNotEmpty("jndiName", jndiName);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                userSettingsFile = resolveFile(userSettingsFile, workingDirectory);
    
                if (!userSettingsFile.isFile()) {
                    throw new FileNotFoundException("The specified user settings file does not exist: " + userSettingsFile);
                }
            } else {
                userSettingsFile = DEFAULT_USER_SETTINGS_FILE;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

            if (name == null) {
                throw new InvalidUserDataException("Missing [name] for invalid pattern rule");
            }
            String pattern = props.remove("pattern");
            if (pattern == null) {
                throw new InvalidUserDataException("Missing [pattern] for invalid pattern rule");
            }
            if (props.isEmpty() == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                    (k, v) -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testComputeIfPresent_unsupportedAbsent() {
        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

        private Map<Integer, KerberosKey> mockKeys;
    
        /**
         * Test parsing with an unknown auth type.
         * Expects an empty list of authorizations.
         * @throws PACDecodingException should not be thrown
         */
        @Test
        void testParseUnknownAuthType() throws PACDecodingException {
            // GIVEN an unknown auth type
            int unknownAuthType = -1;
            byte[] emptyToken = new byte[0];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testEventuallyClosing_throws() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.eventuallyClosing(
                executor.submit(
                    () -> {
                      throw exception;
                    }),
                closingExecutor));
      }
    
      public void testSubmit() throws Exception {
        ClosingFuture<String> closingFuture =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
Back to Top