Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,024 for Exceptions (0.07 sec)

  1. TypeTokenSubtypeTest.java

    is L40: * recursively bounded. L41: */ L42: public void testRecursiveWildcardSubtypeBug() throws Exception { L43: Exception e = L44: assertThrows( L45: Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations()); L46: assertThat(e).hasCauseThat().isInstanceOf(AssertionError.class); L47: } L48: L49: @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports L50: public void testSubtypeOfInnerClass_nonStaticAnonymousClass()...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Sep 06 17:04:31 UTC 2023
      20.3K bytes
  2. FileListIndexUpdateCallbackImpl.java

    ry; L40:import org.codelibs.fess.crawler.entity.RequestData; L41:import org.codelibs.fess.crawler.entity.ResponseData; L42:import org.codelibs.fess.crawler.entity.ResultData; L43:import org.codelibs.fess.crawler.exception.ChildUrlsException; L44:import org.codelibs.fess.crawler.exception.CrawlerSystemException; L45:import org.codelibs.fess.crawler.processor.ResponseProcessor; L46:import org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor; L47:import org.codelibs.fess.crawler.rule.Rule;...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      16.8K bytes
  3. FuturesGetDoneTest.java

    ); L35: } L36: L37: public void testSuccessfulNull() throws ExecutionException { L38: assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null); L39: } L40: L41: public void testFailed() { L42: Exception failureCause = new Exception(); L43: ExecutionException expected = L44: assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause))); L45: assertThat(expected).hasCauseThat().isEqualTo(failureCause); L46: } L47: L48:...
    github.com/google/guava/guava-tests/test/com/go...
    Mon Oct 21 15:41:36 UTC 2024
      2.3K bytes
  4. AbstractFuture.java

    L257: try { L258: pendingDescription = pendingToString(); L259: } catch (RuntimeException e) { L260: // Don't call getMessage or toString() on the exception, in case the exception thrown by the L261: // subclass is implemented with bugs similar to the subclass. L262: pendingDescription = "Exception thrown from implementation: " + e.getClass(); L263: } L264: // The future may complete during or before the call to getPendingToString, so we use null L265:...
    github.com/google/guava/guava-gwt/src-super/com...
    Mon Jan 22 19:37:41 UTC 2024
      12.3K bytes
  5. PathMappingHelper.java

    L29:import org.codelibs.fess.es.config.exbhv.PathMappingBhv; L30:import org.codelibs.fess.es.config.exentity.PathMapping; L31:import org.codelibs.fess.util.ComponentUtil; L32:import org.codelibs.fess.util.DocumentUtil; L33:import org.lastaflute.di.core.exception.ComponentNotFoundException; L34:import org.lastaflute.di.core.factory.SingletonLaContainerFactory; L35:import org.lastaflute.web.util.LaRequestUtil; L36: L37:import jakarta.annotation.PostConstruct; L38: L39:public class PathMappingHelper extends...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      7.6K bytes
  6. ProtocolHelper.java

    java.util.List; L30:import java.util.jar.JarEntry; L31:import java.util.jar.JarFile; L32: L33:import org.apache.logging.log4j.LogManager; L34:import org.apache.logging.log4j.Logger; L35:import org.codelibs.core.exception.ClassNotFoundRuntimeException; L36:import org.codelibs.core.exception.NoSuchFieldRuntimeException; L37:import org.codelibs.core.lang.ClassUtil; L38:import org.codelibs.core.lang.StringUtil; L39:import org.codelibs.fess.mylasta.direction.FessConfig; L40:import org.codelibs.fess.util.ComponentUtil;...
    github.com/codelibs/fess/src/main/java/org/code...
    Wed Jun 19 01:34:15 UTC 2024
      7.4K bytes
  7. ThumbnailGenerator.java

    outManager; L29:import org.codelibs.core.timer.TimeoutTask; L30:import org.codelibs.fess.Constants; L31:import org.codelibs.fess.crawler.client.FesenClient; L32:import org.codelibs.fess.es.client.SearchEngineClient; L33:import org.codelibs.fess.exception.ContainerNotAvailableException; L34:import org.codelibs.fess.timer.SystemMonitorTarget; L35:import org.codelibs.fess.util.ComponentUtil; L36:import org.codelibs.fess.util.SystemUtil; L37:import org.kohsuke.args4j.CmdLineException; L38:import org...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      8.2K bytes
  8. UnsignedBytesBenchmark.java

    1M, 1M (unaligned), 64M, 64M (unaligned) L41: // @Param({"4", "8", "64", "1024", "1048576", "1048577", "6710884", "6710883"}) L42: @Param({"4", "8", "64", "1024"}) L43: private int length; L44: L45: @BeforeExperiment L46: void setUp() throws Exception { L47: Random r = new Random(); L48: ba1 = new byte[length]; L49: r.nextBytes(ba1); L50: ba2 = Arrays.copyOf(ba1, ba1.length); L51: // Differ at the last element L52: ba3 = Arrays.copyOf(ba1, ba1.length); L53: ba4 = Arrays.copyOf(ba1,...
    github.com/google/guava/android/guava-tests/ben...
    Mon Dec 04 17:37:03 UTC 2017
      2.8K bytes
  9. TestLogHandler.java

    logged by the code under test. Example: L30: * L31: * <pre> L32: * TestLogHandler handler; L33: * L34: * protected void setUp() throws Exception { L35: * super.setUp(); L36: * handler = new TestLogHandler(); L37: * SomeClass.logger.addHandler(handler); L38: * addTearDown(new TearDown() { L39: * public void tearDown() throws Exception { L40: * SomeClass.logger.removeHandler(handler); L41: * } L42: * }); L43: * } L44: * L45: * public void test() { L46:...
    github.com/google/guava/android/guava-testlib/s...
    Fri Jun 21 20:53:25 UTC 2024
      2.8K bytes
  10. ImmutableCollection.java

    L250: */ L251: int internalArrayEnd() { L252: throw new UnsupportedOperationException(); L253: } L254: L255: @Override L256: public abstract boolean contains(@CheckForNull Object object); L257: L258: /** L259: * Guaranteed to throw an exception and leave the collection unmodified. L260: * L261: * @throws UnsupportedOperationException always L262: * @deprecated Unsupported operation. L263: */ L264: @CanIgnoreReturnValue L265: @Deprecated L266: @Override L267: @DoNotCall("Always...
    github.com/google/guava/guava/src/com/google/co...
    Mon Aug 12 16:59:15 UTC 2024
      18.8K bytes
Back to top