Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 439 for Errorf (0.15 sec)

  1. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        Object newValue = new Object();
        valueRef.set(newValue);
        assertSame(newValue, cache.getUnchecked(new Object()));
      }
    
      public void testGetUnchecked_error() {
        final Error cause = new Error();
        final AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java

            // execute
            ToolchainPrivate[] toolchains = toolchainManager.getToolchainsForType("basic", session);
    
            // verify
            verify(logger, never()).error(anyString());
            assertEquals(1, toolchains.length);
        }
    
        @Test
        void testToolchainsForUnknownType() throws Exception {
            // prepare
            MavenSession session = mock(MavenSession.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        throw new JudgmentError();
      }
    
      @Subscribe
      @AllowConcurrentEvents
      public void threadSafeMethod(Object arg) {}
    
      /** Local Error subclass to check variety of error thrown. */
      class JudgmentError extends Error {
    
        private static final long serialVersionUID = 634248373797713373L;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
       * @throws IOException if an I/O error occurs while opening the stream
       */
      public abstract InputStream openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link InputStream} for reading from this source. The returned stream is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    } catch (XmlReaderException ne) {
                        // still unreadable even in non-strict mode, rethrow original error
                        throw e;
                    }
    
                    Severity severity = request.isProjectBuild() ? Severity.ERROR : Severity.WARNING;
                    problems.add(
                            severity,
                            ModelProblem.Version.V20,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

       *
       * @param from the input stream to read from
       * @param to the output stream to write to
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue
      public static long copy(InputStream from, OutputStream to) throws IOException {
        checkNotNull(from);
        checkNotNull(to);
        byte[] buf = createBuffer();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    } catch (DirectoryNotEmptyException e) {
                        // ignore
                    }
                }
            } catch (IOException e) {
                LOGGER.error("Error while cleaning project local repository", e);
            }
        }
    
        /**
         * Retrieve a stream of the project's artifacts
         */
        private Stream<Artifact> getProjectArtifacts(MavenProject project) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                    }
                } catch (Exception e) {
                    // TODO don't catch exception
                    throw new ExpressionEvaluationException(
                            "Error evaluating plugin parameter expression: " + expression, e);
                }
            } else if ("reactorProjects".equals(expression)) {
                value = session.getProjects();
            } else if ("project".equals(expression)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/log/LoggerTest.java

        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFatal() throws Exception {
            logger.fatal("fatal");
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top