- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 426 for Throwables (0.05 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/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) -
android/guava/src/com/google/common/util/concurrent/Platform.java
@GwtCompatible final class Platform { static boolean isInstanceOfThrowableClass( @Nullable Throwable t, Class<? extends Throwable> expectedClass) { return expectedClass.isInstance(t); } static void restoreInterruptIfIsInterruptedException(Throwable t) { checkNotNull(t); // to satisfy NullPointerTester if (t instanceof InterruptedException) { currentThread().interrupt();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K 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/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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/ArtifactDeploymentException.java
public ArtifactDeploymentException(String message) { super(message); } public ArtifactDeploymentException(Throwable cause) { super(cause); } public ArtifactDeploymentException(String message, Throwable cause) { super(message, cause); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstallationException.java
public ArtifactInstallationException(String message) { super(message); } public ArtifactInstallationException(Throwable cause) { super(cause); } public ArtifactInstallationException(String message, Throwable cause) { super(message, cause); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K 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) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
} } /** * Asserts that the given throwable has the given class and then asserts on the message as using * the full set of method parameters. */ private void assertFailureCause( Throwable throwable, Class<? extends Throwable> clazz, Object[] params) { assertThat(throwable).isInstanceOf(clazz); if (params.length == 1) { assertThat(throwable).hasMessageThat().isNull();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
} } /** * Asserts that the given throwable has the given class and then asserts on the message as using * the full set of method parameters. */ private void assertFailureCause( Throwable throwable, Class<? extends Throwable> clazz, Object[] params) { assertThat(throwable).isInstanceOf(clazz); if (params.length == 1) { assertThat(throwable).hasMessageThat().isNull();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0)