Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 573 for Throwables (0.12 seconds)

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

        static <V> ListenableScheduledFuture<V> of(V value) {
          return new ImmediateScheduledFuture<>(immediateFuture(value));
        }
    
        static <V> ListenableScheduledFuture<V> failed(Throwable t) {
          return new ImmediateScheduledFuture<>(immediateFailedFuture(t));
        }
    
        ImmediateScheduledFuture(ListenableFuture<V> delegate) {
          super(delegate);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/SmbResourceException.java

         * @param errorCode the SMB error code
         * @param resourceType the type of resource
         * @param cause the cause exception
         */
        public SmbResourceException(String message, int errorCode, ResourceType resourceType, Throwable cause) {
            super(message, errorCode, Severity.TRANSIENT, Category.RESOURCE, cause);
            this.resourceType = resourceType;
            this.availableResources = -1;
            this.requestedResources = -1;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            try {
                downloadFileFromURL(url, outputFile);
                System.out.println("Done");
                System.exit(0);
            } catch (Throwable e) {
                System.out.println("- Error downloading");
                e.printStackTrace();
                System.exit(1);
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

              .hasMessageThat()
              .isEqualTo("one");
        }
    
        assertEquals(true, tearDownOne.ran);
        assertEquals(true, tearDownTwo.ran);
      }
    
      @Override
      public final void runBare() throws Throwable {
        try {
          setUp();
          runTest();
        } finally {
          tearDown();
        }
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

        }
    
        @Test
        public void test_offer_and_drainAll() {
            LogNotificationHelper helper = new LogNotificationHelper();
            helper.offer(new LogNotificationEvent(1000L, "ERROR", "com.example.Foo", "message1", "throwable1"));
            helper.offer(new LogNotificationEvent(2000L, "WARN", "com.example.Bar", "message2", null));
    
            List<LogNotificationEvent> events = helper.drainAll();
            assertEquals(2, events.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/context/CIFSContextWrapper.java

        @Override
        public CIFSContext withGuestCrendentials() {
            return wrap(this.delegate.withGuestCrendentials());
        }
    
        @Override
        public boolean renewCredentials(final String locationHint, final Throwable error) {
            return this.delegate.renewCredentials(locationHint, error);
        }
    
        @Override
        public NameServiceClient getNameServiceClient() {
            return this.delegate.getNameServiceClient();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTraceWithCause() {
            // Test that stack trace is properly preserved with cause
            String innerMessage = "Inner exception";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

            this["okhttp3.mockwebserver.MockWebServer"] = "okhttp.MockWebServer"
          }.toMap()
    
      internal fun androidLog(
        loggerName: String,
        logLevel: Int,
        message: String,
        t: Throwable? = null,
      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
          var logMessage = message
          if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

                        .addBuildSummary(new BuildSuccess(currentProject, Duration.between(buildStartTime, buildEndTime)));
    
                eventCatapult.fire(ExecutionEvent.Type.ProjectSucceeded, session, null);
            } catch (Throwable t) {
                builderCommon.handleBuildError(reactorContext, rootSession, session, currentProject, t, buildStartTime);
    
                projectExecutionListener.afterProjectExecutionFailure(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

            try {
                helper = ComponentUtil.getLogNotificationHelper();
            } catch (final Exception e) {
                return;
            }
    
            String throwableStr = null;
            final Throwable thrown = event.getThrown();
            if (thrown != null) {
                final StringWriter sw = new StringWriter();
                thrown.printStackTrace(new PrintWriter(sw));
                throwableStr = sw.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top