Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,968 for Exceptions (0.14 sec)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serializable() {
            // Test that the exception has serialVersionUID
            WebApiException exception = new WebApiException(404, "Not Found");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
          executor.execute(runnable);
        } catch (Exception e) { // sneaky checked exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

            DownloadedArtifact getArtifact();
    
            /**
             * Returns a mapping of repositories to the exceptions encountered while resolving the artifact.
             *
             * @return A {@link Map} where keys are {@link Repository} instances and values are {@link Exception} instances.
             */
            Map<Repository, List<Exception>> getExceptions();
    
            /**
             * Returns the repository from which the artifact was resolved.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            @DisplayName("Should handle deeply nested exceptions")
            void testToStringWithNestedExceptions() {
                Exception innermost = new IOException("Innermost exception");
                Exception middle = new RuntimeException("Middle exception", innermost);
                Exception rootCause = new IllegalStateException("Outer exception", middle);
                TransportException exception = new TransportException("Transport failed", rootCause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbSessionTest.java

            @DisplayName("Should handle close with exception gracefully")
            void shouldHandleCloseExceptionGracefully() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                Exception testException = new Exception("Test close exception");
                doThrow(testException).when(mockSession).close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

         * Verify that all methods can be called with null buffers without
         * throwing exceptions. This test ensures robustness of the implementation.
         */
        @Test
        void methodsHandleNullBuffersGracefully() {
            // Arrange
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
            // Act & Assert - no exceptions should be thrown
            assertDoesNotThrow(() -> resp.writeSetupWireFormat(null, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
                e -> e instanceof InvocationTargetException,
                StackOverflowError.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        /**
         * Sets an error in the current request with the specified status code and exception.
         *
         * @param statusCode The HTTP status code
         * @param e The exception that caused the error
         */
        public static void setError(final int statusCode, final Exception e) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, e)));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java

        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
                e -> e instanceof InvocationTargetException,
                StackOverflowError.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
                e -> e instanceof InvocationTargetException,
                StackOverflowError.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top