- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 453 for Throwables (0.16 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
} } private static final class WrapperException extends Exception { WrapperException(Throwable t) { super(t); } } private static void rethrow(ExecutionException e) throws ExecutionException { Throwable wrapper = e.getCause(); if (wrapper instanceof WrapperException) { Throwable cause = wrapper.getCause(); if (cause instanceof RuntimeException) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
assertNull(exception.getCause()); } public void test_constructor_withNestedCause() { // Test constructor with nested exception causes Throwable rootCause = new IllegalArgumentException("Root cause"); Throwable middleCause = new IllegalStateException("Middle cause", rootCause); String message = "Command execution failed with nested exception";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionException.java
List<String> path, Throwable t) { super(message, groupId, artifactId, version, type, classifier, remoteRepositories, path, t); } public ArtifactResolutionException( String message, String groupId, String artifactId, String version, String type, String classifier, Throwable t) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
return error; } /** * Returns the root cause of this exception * * @return the root cause throwable */ public Throwable getRootCause() { return rootCause; } @Override public String toString() { if (rootCause != null) { final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
} @Test void messageAndCauseConstructor_setsMessageAndCause_withoutInteractingWithCause() { // Arrange - mock cause to verify no interactions are needed to construct Throwable cause = Mockito.mock(Throwable.class); String message = "forced downgrade detected"; // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/DataStoreException.java
* * @param message the error message * @param cause the underlying cause of this exception */ public DataStoreException(final String message, final Throwable cause) { super(message, cause); } /** * Creates a new DataStoreException with the specified message. * * @param message the error message */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
} public void test_constructor_withComponentNameAndCause() { // Test constructor with component name and cause String componentName = "myComponent"; Throwable cause = new RuntimeException("Connection failed"); ContainerNotAvailableException exception = new ContainerNotAvailableException(componentName, cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/JobProcessingException.java
*/ public JobProcessingException(final Throwable e) { super(e); } /** * Constructs a new JobProcessingException with the specified detail message and cause. * * @param message the detail message explaining the exception * @param e the cause of the exception */ public JobProcessingException(final String message, final Throwable e) { super(message, e); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
// Create multiple threads to test synchronized method Thread thread1 = new Thread(() -> { Throwable result = exception.fillInStackTrace(); assertNull(result); }); Thread thread2 = new Thread(() -> { Throwable result = exception.fillInStackTrace(); assertNull(result); }); thread1.start();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
* returns the expected data. * * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the * result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0)