Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 573 for Throwables (0.1 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionException.java

            super(message);
            // TODO Auto-generated constructor stub
        }
    
        public MetadataResolutionException(Throwable cause) {
            super(cause);
            // TODO Auto-generated constructor stub
        }
    
        public MetadataResolutionException(String message, Throwable cause) {
            super(message, cause);
            // TODO Auto-generated constructor stub
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  2. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenException.java

        public MavenException() {}
    
        public MavenException(String message) {
            super(message);
        }
    
        public MavenException(String message, Throwable cause) {
            super(message, cause);
        }
    
        public MavenException(Throwable cause) {
            super(cause);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            // Create multiple threads to test synchronized method
            Thread thread1 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            Thread thread2 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            thread1.start();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

                .catching(Throwable.class, Object::getClass, directExecutor());
        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
      public void testCatchingAsync() throws Exception {
        FluentFuture<?> f =
            FluentFuture.from(immediateFailedFuture(new CustomRuntimeException()))
                .catchingAsync(Throwable.class, t -> immediateFuture(t.getClass()), directExecutor());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/VerifyException.java

       *
       * @since 19.0
       */
      public VerifyException(@Nullable Throwable cause) {
        super(cause);
      }
    
      /**
       * Constructs a {@code VerifyException} with the message {@code message} and the cause {@code
       * cause}.
       *
       * @since 19.0
       */
      public VerifyException(@Nullable String message, @Nullable Throwable cause) {
        super(message, cause);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

         */
        public ConnectionTimeoutException(final Throwable rootCause) {
            super(rootCause);
        }
    
        /**
         * Constructs a new ConnectionTimeoutException with the specified detail message and cause.
         * @param msg the detail message
         * @param rootCause the cause of this exception
         */
        public ConnectionTimeoutException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class);
      }
    
      public void testInvokeSubscriberMethod_basicMethodCall() throws Throwable {
        Method method = getTestSubscriberMethod("recordingMethod");
        Subscriber subscriber = Subscriber.create(bus, this, method);
    
        subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

                .catching(Throwable.class, Object::getClass, directExecutor());
        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
      public void testCatchingAsync() throws Exception {
        FluentFuture<?> f =
            FluentFuture.from(immediateFailedFuture(new CustomRuntimeException()))
                .catchingAsync(Throwable.class, t -> immediateFuture(t.getClass()), directExecutor());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top