Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 460 for Throwable (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverException.java

    @Experimental
    @Consumer
    public class VersionResolverException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = -2105433586719466573L;
    
        public VersionResolverException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverException.java

    @Experimental
    public class DependencyResolverException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = 1101171569179057614L;
    
        public DependencyResolverException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedType = "OAuth";
            String expectedMessage = "OAuth token is invalid";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle null root cause")
            void testConstructorWithNullRootCause() {
                TransportException exception = new TransportException((Throwable) null);
    
                assertNotNull(exception);
                assertNull(exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should handle null message with root cause")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/baseline-prof.txt

    HSPLandroidx/startup/InitializationProvider;->onCreate()Z
    HSPLandroidx/tracing/Trace;->isEnabled()Z
    HSPLkotlin/Result$Failure;-><init>(Ljava/lang/Throwable;)V
    HSPLkotlin/Result;->exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
    HSPLkotlin/ResultKt;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
    HSPLkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  7. 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)
  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/src/com/google/common/util/concurrent/InterruptibleTask.java

          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/ChecksumHashFunction.java

        static boolean updateByteBuffer(Checksum cs, ByteBuffer bb) {
          if (UPDATE_BB != null) {
            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              // `update` has no `throws` clause.
              sneakyThrow(e);
            }
            return true;
          } else {
            return false;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top