Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 539 for Errorf (0.18 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

             * unavailable. But given how much other reflection we're using, we might as well use it
             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
             */
    
            Method currentMethod = processHandleClass.getMethod("current");
            Method infoMethod = processHandleClass.getMethod("info");
            Method userMethod = processHandleInfoClass.getMethod("user");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
           * We're probably running on Android.
           *
           * A note on exception types:
           *
           * Android API level 10 throws ExceptionInInitializerError the first time and
           * ClassNotFoundException thereafter.
           *
           * Android API level 26 and JVM8 both let our Error propagate directly the first time and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

        @JsFunction
        interface ResolveCallbackFn<T extends @Nullable Object> {
          void onInvoke(T value);
        }
    
        @JsFunction
        interface RejectCallbackFn {
          void onInvoke(Object error);
        }
    
        void onInvoke(ResolveCallbackFn<T> resolve, RejectCallbackFn reject);
      }
    
      public Promise(PromiseExecutorCallbackFn<T> executor) {}
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 24 18:27:19 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/cache/Striped64.java

        static {
          try {
            UNSAFE = getUnsafe();
            Class<?> ak = Cell.class;
            valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value"));
          } catch (Exception e) {
            throw new Error(e);
          }
        }
      }
    
      /**
       * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        /**
         * The different severity levels for a problem, in decreasing order.
         *
         * @since 4.0.0
         */
        @Experimental
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * should use the type safe {@link #putInstance}.
     *
     * <p>Also, if caller suppresses unchecked warnings and passes in an {@code Iterable<String>} for
     * type {@code Iterable<Integer>}, the map won't be able to detect and throw type error.
     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
     * and a primitive type and its corresponding wrapper type may map to different values.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            List<Toolchain> toolchains = toolchainManager.getToolchains(session, "unknown", null);
    
            assertEquals(0, toolchains.size());
            verify(logger).error("Missing toolchain factory for type: unknown. Possibly caused by misconfigured project.");
        }
    
        @Test
        void testModelAndFactory() {
            MavenSession session = mock(MavenSession.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            IOException ioEx = new IOException("Unable to establish loopback connection", connEx);
            MojoExecutionException mojoEx =
                    new MojoExecutionException("Error executing Jetty: Unable to establish loopback connection", ioEx);
    
            ExceptionHandler exceptionHandler = new DefaultExceptionHandler();
            ExceptionSummary exceptionSummary = exceptionHandler.handleException(mojoEx);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

             * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from
             * aftereffects and bogus error messages.
             */
            List<Dependency> dependencies = model.getDependencies();
            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top