Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 844 for Because (0.03 sec)

  1. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        try {
          tester.test();
        } catch (AssertionError e) {
          actual = e;
        }
        assertNotNull("verify() should be able to cause test failure", actual);
        assertTrue(
            "AssertionError should have info about why test failed",
            actual.getCause().getMessage().contains(message));
      }
    
      public void testMissingException() {
        List<Integer> emptyList = new ArrayList<>();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

         * @param argTypes the argument types
         * @param cause the underlying exception
         */
        public NoSuchMethodRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] argTypes,
                final Throwable cause) {
            super("ECL0057", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, argTypes)), cause);
            this.targetClass = targetClass;
            this.methodName = methodName;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        RemovalNotification<Object, Object> notification = listener.remove();
        assertThat(notification.getKey()).isSameInstanceAs(key);
        assertThat(notification.getValue()).isSameInstanceAs(computed);
        assertThat(notification.getCause()).isEqualTo(RemovalCause.SIZE);
        assertThat(listener.isEmpty()).isTrue();
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
        Object computed = new Object();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/NullCacheTest.java

        RemovalNotification<Object, Object> notification = listener.remove();
        assertThat(notification.getKey()).isSameInstanceAs(key);
        assertThat(notification.getValue()).isSameInstanceAs(computed);
        assertThat(notification.getCause()).isEqualTo(RemovalCause.SIZE);
        assertThat(listener.isEmpty()).isTrue();
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
        Object computed = new Object();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe.message).isEqualTo("google.com")
          val cause = ioe.cause!!
          assertThat(cause).isInstanceOf<IOException>()
          assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes")
        }
      }
    
      @Test
      fun failOnBadResponse() {
        server.enqueue(dnsResponse("00"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    if (e.getMessage().indexOf("bomb") >= 0) {
                        throw new ExtractException("Zip bomb detected.", e);
                    }
                    final Throwable cause = e.getCause();
                    if (cause instanceof SAXException) {
                        final Extractor xmlExtractor = crawlerContainer.getComponent("xmlExtractor");
                        if (xmlExtractor != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbAuthException.java

            super(errcode, null);
        }
    
        SmbAuthException(final String message) {
            super(message);
        }
    
        SmbAuthException(final String message, final Throwable cause) {
            super(message, cause);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/Subscriber.java

        } catch (IllegalAccessException e) {
          throw new Error("Method became inaccessible: " + event, e);
        } catch (InvocationTargetException e) {
          if (e.getCause() instanceof Error) {
            throw (Error) e.getCause();
          }
          throw e;
        }
      }
    
      /** Gets the context for the given event. */
      private SubscriberExceptionContext context(Object event) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

            assertThat(clIllegalStateException.getMessage(), is("hoge"));
            assertThat(clIllegalStateException.getCause(), instanceOf(NullPointerException.class));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.Throwable)}
         * .
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

        /**
         * Constructs a new SuggestIndexException with the specified cause.
         * @param cause The cause.
         */
        public SuggestIndexException(final Throwable cause) {
            super(cause);
        }
    
        /**
         * Constructs a new SuggestIndexException with the specified detail message and cause.
         * @param msg The detail message.
         * @param cause The cause.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top