Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 426 for Throwables (0.18 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException("Query parsing failed");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            Throwable cause = queryParseException.getCause();
            assertNotNull(cause);
            assertTrue(cause instanceof ParseException);
            assertEquals(parseException, cause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top