Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 578 for Throwable (0.14 seconds)

  1. README.md

            response.getItems().forEach(item -> 
                System.out.println("Async suggestion: " + item.getText()[0])
            );
        })
        .error(throwable -> {
            // Handle error
            System.err.println("Error: " + throwable.getMessage());
        });
    ```
    
    ## Advanced Usage
    
    ### Index from Existing Documents
    
    ```java
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          notifyStopped();
        }
      }
    
      /** This is never thrown but only used for logging. */
      private static final class EmptyServiceManagerWarning extends Throwable {}
    
      private static final class FailedService extends Throwable {
        FailedService(Service service) {
          super(
              service.toString(),
              service.failureCause(),
              false /* don't enable suppression */,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that exception is serializable
            String message = "Serialization test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/SmbException.java

         * @param severity the error severity
         * @param category the error category
         * @param cause the cause exception
         */
        public SmbException(String message, int errorCode, Severity severity, Category category, Throwable cause) {
            super(message, cause);
            this.errorCode = errorCode;
            this.severity = severity;
            this.category = category;
            this.context = new HashMap<>();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            }
        }
    
        @Test
        @DisplayName("Should pass null for SmbAuthException when error is not SmbAuthException")
        void testRenewCredentials_WithErrorNotSmbAuthException() {
            Throwable genericError = new RuntimeException("Generic Error");
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            /**
             * Create exception with cause
             *
             * @param message error message
             * @param cause underlying cause
             */
            public NoAvailableChannelException(String message, Throwable cause) {
                super(message, cause);
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            assertNotNull(details);
            assertTrue(details.contains("Total: 1 event(s)"));
            assertTrue(details.contains("Something went wrong"));
            // Throwable is no longer included in summary-oriented format
            // Only log message is shown per event line
        }
    
        @Test
        public void test_formatDetails_emptyList() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                return null;
            }
    
            @Override
            public void log(String msg) {
            }
    
            @Override
            public void log(String message, Throwable throwable) {
            }
    
            @Override
            public String getServerInfo() {
                return null;
            }
    
            @Override
            public String getInitParameter(String name) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                final ReactorContext buildContext,
                final MavenSession rootSession,
                final MavenSession currentSession,
                final MavenProject mavenProject,
                Throwable t,
                final Instant buildStartTime) {
            // record the error and mark the project as failed
            Instant buildEndTime = MonotonicClock.now();
            buildContext.getResult().addException(t);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            verify(delegate, times(1)).release();
        }
    
        @Test
        @DisplayName("finalize() invokes checkRelease exactly once")
        void finalize_invokes_checkRelease() throws Throwable {
            // Arrange: spy to verify internal interaction with checkRelease()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top