Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 384 for throwable (0.42 sec)

  1. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

        /**
         * Constructor.
         * @param message Exception message.
         * @param cause Root cause for this exception.
         */
        public ScheduledJobException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructor.
         * @param message Exception message.
         */
        public ScheduledJobException(final String message) {
            super(message);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbOperationException.java

                }
            }
            return "unknown";
        }
    
        private long extractNtStatus(Throwable cause) {
            if (cause instanceof SmbException) {
                return ((SmbException) cause).getNtStatus();
            }
            return 0;
        }
    
        private String extractServerMessage(Throwable cause) {
            if (cause instanceof SmbException) {
                // Try to get server message from SMB exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Invokable.java

      public final ImmutableList<TypeToken<? extends Throwable>> getExceptionTypes() {
        ImmutableList.Builder<TypeToken<? extends Throwable>> builder = ImmutableList.builder();
        for (Type type : getGenericExceptionTypes()) {
          // getGenericExceptionTypes() will never return a type that's not exception
          @SuppressWarnings("unchecked")
          TypeToken<? extends Throwable> exceptionType =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        /**
         * Builds a comprehensive error message from a throwable and its causes.
         * This method traverses the cause chain and concatenates all error messages.
         *
         * @param t the throwable to build message from
         * @return a string containing all error messages in the cause chain
         */
        protected String buildThrowableMessage(final Throwable t) {
            final StringBuilder buf = new StringBuilder(100);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            // When
            SpnegoException ex = new SpnegoException(cause);
    
            // Then
            assertNotNull(ex);
            assertEquals(cause, ex.getCause());
            // IOException(Throwable) sets message to cause.toString()
            assertEquals(cause.toString(), ex.getMessage());
        }
    
        @Test
        @DisplayName("Should create SpnegoException with message and cause")
        void testWithMessageAndCause() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      private void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
          throws Throwable {
        AtomicInteger count = new AtomicInteger(0);
        AtomicReference<Throwable> thrown = new AtomicReference<>(null);
        int numThreads = 3;
        Thread[] threads = new Thread[numThreads];
        long timeout = SECONDS.toNanos(60);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.reflect.AbstractInvocationHandler;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

        /**
         * Validate message+cause constructor and that no interaction with cause occurs during construction.
         */
        @Test
        @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status")
        void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) {
            // Arrange
            String msg = "auth failed";
    
            // Act
            SmbAuthException ex = new SmbAuthException(msg, mockCause);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      private Throwable tryInternalFastPathGetFailure(Future<?> future) throws Exception {
        Method tryInternalFastPathGetFailureMethod =
            abstractFutureClass.getDeclaredMethod("tryInternalFastPathGetFailure");
        tryInternalFastPathGetFailureMethod.setAccessible(true);
        return (Throwable) tryInternalFastPathGetFailureMethod.invoke(future);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      private Throwable tryInternalFastPathGetFailure(Future<?> future) throws Exception {
        Method tryInternalFastPathGetFailureMethod =
            abstractFutureClass.getDeclaredMethod("tryInternalFastPathGetFailure");
        tryInternalFastPathGetFailureMethod.setAccessible(true);
        return (Throwable) tryInternalFastPathGetFailureMethod.invoke(future);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top