- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,867 for exception (0.05 sec)
-
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
private static boolean hasConstructorUsableByGetChecked( Class<? extends Exception> exceptionClass) { try { Exception unused = newWithCause(exceptionClass, new Exception()); return true; } catch (Throwable t) { // sneaky checked exception return false; } } private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
*/ String getApiJsonResponseHeaders(); /** * Get the value for the key 'api.json.response.exception.included'. <br> * The value is, e.g. false <br> * comment: Whether to include exceptions in API JSON response. * @return The value of found property. (NotNull: if not found, exception but basically no way) */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 525.7K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
Exception exception = new RuntimeException("test"); UncheckedExecutionException e = assertThrows( UncheckedExecutionException.class, () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS)); assertThat(e).hasCauseThat().isEqualTo(exception); } public void testCallUninterruptiblyWithTimeout_propagatesReturnValue() throws Exception { String result =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
import org.apache.maven.cli.transfer.Slf4jMavenTransferListener; import org.apache.maven.eventspy.internal.EventSpyDispatcher; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.ProfileActivation; import org.apache.maven.execution.ProjectActivation; import org.apache.maven.jline.MessageUtils; import org.apache.maven.model.root.DefaultRootLocator; import org.apache.maven.project.MavenProject;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertNotNull(exception); assertEquals(SmbOperationException.ErrorCode.FILE_NOT_FOUND, exception.getErrorCode()); assertTrue(exception.getMessage().contains("FILE_NOT_FOUND")); assertTrue(exception.getMessage().contains("test.txt")); assertEquals(SmbOperationException.ErrorCategory.FILE_SYSTEM, exception.getErrorCategory()); assertFalse(exception.isRetryable()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/CIFSException.java
*/ package jcifs; import java.io.IOException; /** * Base for all checked exceptions used by this library * * @author mbechler * */ public class CIFSException extends IOException { /** * */ private static final long serialVersionUID = 7806460518865806784L; /** * Constructs a CIFS exception with no detail message. */ public CIFSException() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.exception; /** * MimeTypeException is a custom exception class that extends CrawlerSystemException. * It is used to indicate exceptions related to MIME type handling during the crawling process. * This exception can be thrown with a message, a cause, or both. */ public class MimeTypeException extends CrawlerSystemException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} abstract boolean isPermitted(Exception exception); void assertPermitted(Exception exception) { if (!isPermitted(exception)) { String message = "Exception " + exception.getClass().getSimpleName() + " was thrown; expected " + getMessage(); throw new AssertionError(message, exception); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java
* and providing a <code>message</code>. * * @param message * @param cause */ public MojoExecutionException(String message, Exception cause) { super(message, cause); } /** * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Throwable</code>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
assertThat(e).hasCauseThat().isSameInstanceAs(exception); assertEquals(Service.State.FAILED, service.state()); } public void testFunctionalStop_failed() { Exception exception = new Exception("deliberate"); AbstractIdleService service = new DefaultService() { @Override protected void shutDown() throws Exception { throw exception; } };
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.5K bytes - Viewed (0)