- Sort Score
- Result 10 results
- Languages All
Results 1251 - 1260 of 2,652 for throwIf (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ListenableFuture<String> f = FluentFuture.from(SettableFuture.<String>create()); assertThat(FluentFuture.from(f)).isSameInstanceAs(f); } public void testFromNonFluentFuture() throws Exception { ListenableFuture<String> f = new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {}; verify(!(f instanceof FluentFuture)); assertThat(FluentFuture.from(f).get()).isEqualTo("a");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
} throw new ThumbnailGenerationException(e.getMessage()); } catch (final Exception e) { throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url, e); } } throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url + " (Redirect Loop)"); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
// // p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @Test void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
@Test public void testURLHandlerRegistration () throws IOException { Config.registerSmbURLHandler(); URL u = new URL("smb://localhost/test"); assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class))); } @Test @SuppressWarnings ( "deprecation" ) public void testLegacyURLConstructor () throws IOException { Config.registerSmbURLHandler();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
} @PostConstruct public void init() { if (officeManager == null) { throw new CrawlerSystemException("officeManager is null."); } try { officeManager.start(); } catch (final OfficeException e) { throw new CrawlerSystemException("Failed to start officeManager.", e); } if (logger.isDebugEnabled()) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
new InvocationHandler() { @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { throw new UnsupportedOperationException(); } }); } @Override protected Multimap<K, V> delegate() { return unusableDelegate; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java
} } } } } catch (final MaxLengthExceededException e) { throw e; } catch (final Exception e) { if (buf.length() == 0) { throw new ExtractException("Could not extract a content.", e); } } finally { CloseableUtil.closeQuietly(ais); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java
private Artifact projectArtifact; @BeforeEach @Override public void setUp() throws Exception { super.setUp(); projectArtifact = createLocalArtifact("project", "3.0"); } @Override protected String component() { return "resolver"; } @Test void testMNG4738() throws Exception { Artifact g = createLocalArtifact("g", "1.0");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java
* circumstances. */ public static void main(String[] args) throws IOException { int exitCode = new MavenEncCling().run(args); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenEncCling(world).run(args); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
import okhttp3.tls.HandshakeCertificates; import okhttp3.tls.HeldCertificate; /** * Create an HTTPS server with a self-signed certificate that OkHttp trusts. */ public class HttpsServer { public void run() throws Exception { HeldCertificate localhostCertificate = new HeldCertificate.Builder() .addSubjectAlternativeName("localhost") .build();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 02 14:04:37 UTC 2023 - 2.1K bytes - Viewed (0)