- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 132 for getCauses (0.13 sec)
-
src/main/java/jcifs/util/transport/TransportException.java
super(msg, rootCause); } /** * * @return root cause */ @Deprecated public Throwable getRootCause () { return getCause(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java
System.out.println(e.getMessage()); assertThat(e.getPropertyName(), is("hoge")); assertThat(e.getValue(), is((Object) "xxx")); assertThat(e.getCause().getMessage(), is("cause")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java
try { return CommonsCliMavenOptions.parse(source, args.toArray(new String[0])); } catch (ParseException e) { throw new ParserException("Failed to parse source " + source, e.getCause()); } } // TODO: same is in DefaultMavenParser!!! (duplication) @Override protected MavenOptions assembleOptions(List<MavenOptions> parsedOptions) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
} tree.send(create2); } catch ( Exception e ) { if ( e.getCause() instanceof TransportException && e.getCause().getCause() instanceof InterruptedException ) { Smb2CreateRequest create3 = new Smb2CreateRequest(sess.getConfig(), "\\xyz");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
public void testGetCause() throws Exception { final Throwable t = new NullPointerException("test"); final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t); assertThat(ex.getCause(), is(t)); ex.printStackTrace(); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
try { f.createNewFile(); assertTrue("Did not see error", false); } catch ( SmbException e ) { if ( e.getCause() instanceof ConnectionTimeoutException ) { long timeout = System.currentTimeMillis() - start; assertTrue( String.format(
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java
} /** * Constructs a new {@code AbstractMojoExecutionException} exception wrapping an underlying {@code Throwable}. * * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method. * A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown. * @since 3.8.3 */ public AbstractMojoExecutionException(Throwable cause) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
exec.execute(task); runLatch.await(); taskLatch.countDown(); ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, SECONDS)); assertEquals(IllegalStateException.class, e.getCause().getClass()); assertTrue(listenerLatch.await(5, SECONDS)); assertTrue(task.isDone()); assertFalse(task.isCancelled()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
}; client.setAccessTimeout(1); try { client.doGet("file:/tmp/test.txt"); fail(); } catch (CrawlingAccessException e) { assertTrue(e.getCause() instanceof InterruptedException); } } public void test_doHead_accessTimeoutTarget() { FileSystemClient client = new FileSystemClient() { @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java
this.projectId = projectId; } public MojoFailureException getMojoFailureException() { return (MojoFailureException) getCause(); } public String getProjectId() { return projectId; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0)