Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 432 for throwable (0.26 sec)

  1. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

        /**
         * Extracts and returns the stack trace from a throwable as a string.
         * The stack trace is abbreviated if it exceeds the configured maximum length.
         *
         * @param t the throwable to extract the stack trace from
         * @return the stack trace as a string, or empty string if extraction fails
         */
        private String getStackTrace(final Throwable t) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

         */
        public ClUnsupportedOperationException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a {@link ClUnsupportedOperationException}.
         *
         * @param cause the underlying exception
         */
        public ClUnsupportedOperationException(final Throwable cause) {
            super(cause);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * @param executor the executor that runs {@code fallback} if the input fails
       */
      @J2ktIncompatible
      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public final <X extends Throwable> FluentFuture<V> catching(
          Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) {
        return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class JobProcessingExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withCause() {
            // Test constructor with Throwable cause
            final Exception cause = new RuntimeException("Root cause");
            final JobProcessingException exception = new JobProcessingException(cause);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

            assertThat(clIllegalStateException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)}
         * .
         */
        @Test
        public void testSIllegalStateExceptionStringThrowable() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge", new NullPointerException());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/SpnegoException.java

         * @param message the detail message
         * @param cause the cause of this exception
         */
        public SpnegoException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new SpnegoException with the specified detail message
         * @param message the detail message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/RequestTimeoutException.java

         *
         * @param msg the detail message
         * @param rootCause the cause of the exception
         */
        public RequestTimeoutException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
         * Constructs a new RequestTimeoutException with the specified detail message.
         *
         * @param msg the detail message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

            assertEquals(errorMessage, e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a cause.
         */
        @Test
        void testCauseConstructor() {
            Throwable cause = new RuntimeException("Root cause");
            PACDecodingException e = new PACDecodingException(cause);
            // When constructed with only a cause, the implementation passes (null, cause) to super
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
          } catch (Throwable t) {
            if (suppressThrows) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/TearDownStack.java

      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
          } catch (Throwable t) {
            if (suppressThrows) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top