Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 162 for getCauses (0.09 sec)

  1. src/main/java/org/codelibs/curl/CurlException.java

         *
         * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
         * @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.)
         */
        public CurlException(final String message, final Throwable cause) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/TransportException.java

        }
    
        /**
         * Gets the root cause of this exception.
         * @return root cause of this exception
         */
        @Deprecated
        public Throwable getRootCause() {
            return getCause();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.get(malformedUrl);
            });
            assertTrue(thrown.getMessage().contains("Invalid URL"));
            assertTrue(thrown.getCause() instanceof MalformedURLException);
        }
    
        @Test
        void testGetPipe() throws CIFSException, MalformedURLException {
            // Test getPipe(String url, int pipeType) method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        try {
          method.invoke(wrapper, getParameterValues(method));
          fail(method + " failed to throw exception as is.");
        } catch (InvocationTargetException e) {
          if (exception != e.getCause()) {
            throw new RuntimeException(e);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError(e);
        }
      }
    
      private static <T> void testEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbException.java

        public int getNtStatus() {
            return this.status;
        }
    
        /**
         * Get the root cause of this exception (deprecated - use getCause() instead)
         *
         * @return cause
         */
        @Deprecated
        public Throwable getRootCause() {
            return this.getCause();
        }
    
        /**
         * @param e
         * @return a CIFS exception wrapped in an SmbException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        try {
          method.invoke(wrapper, getParameterValues(method));
          fail(method + " failed to throw exception as is.");
        } catch (InvocationTargetException e) {
          if (exception != e.getCause()) {
            throw new RuntimeException(e);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError(e);
        }
      }
    
      private static <T> void testEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                assertEquals("Python Process terminated.", e.getMessage());
                assertNotNull(e.getCause());
                // Check cause message if available, otherwise just verify cause exists
                if (e.getCause().getMessage() != null) {
                    assertTrue(e.getCause().getMessage().contains("Process start failed"));
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                try {
                  String result = Uninterruptibles.getUninterruptibly(currentFuture.get());
                  finalResults.add(result);
                } catch (ExecutionException e) {
                  finalResults.add(e.getCause());
                } catch (CancellationException e) {
                  finalResults.add(CancellationException.class);
                } finally {
                  awaitUnchecked(barrier);
                }
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Default NT status should be UNSUCCESSFUL");
            assertNull(ex.getCause(), "Cause should be null by default");
            assertNull(ex.getRootCause(), "Root cause should be null by default");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/RemovalNotification.java

        super(key, value);
        this.cause = checkNotNull(cause);
      }
    
      /** Returns the cause for which the entry was removed. */
      public RemovalCause getCause() {
        return cause;
      }
    
      /**
       * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither
       * {@link RemovalCause#EXPLICIT} nor {@link RemovalCause#REPLACED}).
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top