Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 176 for getCauses (0.04 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

             *
             * But for now, we use the value from the system property as our best guess.
             */
            return fromSystemProperty;
          } catch (InvocationTargetException e) {
            throwIfUnchecked(e.getCause()); // in case it's an Error or something
            return fromSystemProperty; // should be impossible
          } catch (NoSuchMethodException shouldBeImpossible) {
            return fromSystemProperty;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/ExecJobTest.java

                execJob.testCreateSystemProperties(cmdList, invalidFile);
                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
                assertNotNull(e.getCause());
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
        // Test getLogName method
        public void test_getLogName() {
            // Test without suffix
            execJob.logSuffix = "";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            CIFSException ex = assertThrows(CIFSException.class, () -> trace.connectWrapException(loc));
            assertTrue(ex.getMessage() != null && ex.getMessage().contains("Failed to connect to server"));
            assertSame(thrown, ex.getCause());
        }
    
        @Test
        @DisplayName("connectWrapException: rethrows SmbException unchanged")
        void connectWrapException_rethrowsSmbException() throws Exception {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

                  }
                  throw new NoSuchFieldError("the Unsafe");
                }
              });
        } catch (PrivilegedActionException e) {
          throw new RuntimeException("Could not initialize intrinsics", e.getCause());
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/LittleEndianByteArray.java

                      }
                      throw new NoSuchFieldError("the Unsafe");
                    });
          } catch (PrivilegedActionException e) {
            throw new RuntimeException("Could not initialize intrinsics", e.getCause());
          }
        }
    
        static {
          theUnsafe = getUnsafe();
          BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class);
    
          // sanity check - this should never fail
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbOperationException.java

         */
        public static SmbOperationException forRetry(SmbOperationException original, int attemptNumber) {
            SmbOperationException retry = new SmbOperationException(original.errorCode, original.originalMessage, original.getCause(),
                    original.retryPolicy, original.context);
            retry.setAttemptNumber(attemptNumber);
            return retry;
        }
    
        private void setAttemptNumber(int attemptNumber) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private Object invokeGeneratorMethod(Method generator, Object... args) {
        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                }
            }
    
            return (List<ArtifactRepository>) repositories;
        }
    
        private ProjectBuildingException transformError(ProjectBuildingException e) {
            if (e.getCause() instanceof ModelBuildingException) {
                return new InvalidProjectModelException(e.getProjectId(), e.getMessage(), e.getPomFile());
            }
    
            return e;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

        checkNotNull(future);
        try {
          return getUninterruptibly(future);
        } catch (ExecutionException wrapper) {
          if (wrapper.getCause() instanceof Error) {
            throw new ExecutionError((Error) wrapper.getCause());
          }
          /*
           * It's an Exception. (Or it's a non-Error, non-Exception Throwable. From my survey of such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                }
                return consumer.test(configId, url);
            } catch (final ThumbnailGenerationException e) {
                if (e.getCause() == null) {
                    logger.debug(e.getMessage());
                } else {
                    logger.warn("Failed to process {}", id, e);
                }
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top