Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 278 for getMessage (0.21 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          UnsignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        // This is the only ordering for primitives that does not have a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                logger.debug("While recursing: " + e.getMessage(), e);
                result.addCircularDependencyException(e);
            } catch (OverConstrainedVersionException e) {
                logger.debug("While recursing: " + e.getMessage(), e);
                result.addVersionRangeViolation(e);
            } catch (ArtifactResolutionException e) {
                logger.debug("While recursing: " + e.getMessage(), e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphsTest.java

        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> undirectedGraph.addEdge(N1, N2, E12_A));
        assertThat(e.getMessage()).contains(ERROR_PARALLEL_EDGE);
        e = assertThrows(IllegalArgumentException.class, () -> undirectedGraph.addEdge(N2, N1, E21));
        assertThat(e.getMessage()).contains(ERROR_PARALLEL_EDGE);
    
        // By default, self-loop edges are not allowed.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

            this.groupId = groupId;
            this.artifactId = artifactId;
            this.version = version;
            this.type = type;
            this.baseMessage = message;
        }
    
        public String getMessage() {
            return "For artifact {" + getArtifactKey() + "}: " + getBaseMessage();
        }
    
        public String getBaseMessage() {
            return baseMessage;
        }
    
        public String getArtifactId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                }
                return consumer.test(configId, url);
            } catch (final ThumbnailGenerationException e) {
                if (e.getCause() == null) {
                    logger.debug(e.getMessage());
                } else {
                    logger.warn("Failed to process {}", id, e);
                }
            } catch (final Exception e) {
                logger.warn("Failed to process {}", id, e);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertEquals("message", record.getMessage());
        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
        // Tests for the absence of a bug where logging while iterating over the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
     *     assertEquals("some message", firstRecord.getMessage());
     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TestLogHandler extends Handler {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

            for (SettingsProblem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = problem.getLocation();
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.println(location);
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

            try (Invoker<R> invoker = createInvoker()) {
                return invoker.invoke(parseArguments(args));
            } catch (ParserException e) {
                System.err.println(e.getMessage());
                return 1;
            } catch (InvokerException e) {
                return 1;
            } finally {
                if (classWorldManaged) {
                    classWorld.close();
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            /*
             * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch (
             * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) <
             * e.getMessage().indexOf( "[1.0,)" ) ); }
             */
        }
    
        @Test
        @Disabled("that one does not work")
        void testOverConstrainedVersionException()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
Back to top