Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 519 for setMessage (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * message}.
         */
        @Override
        public String getMessage() {
          // requireNonNull is safe because ExampleStackTrace sets a non-null message.
          StringBuilder message = new StringBuilder(requireNonNull(super.getMessage()));
          for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) {
            message.append(", ").append(t.getMessage());
          }
          return message.toString();
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    }
                }
    
                @Override
                public void onFailure(final Exception e) {
                    deferred.reject(new SuggesterException(e.getMessage(), e));
                }
            });
        }
    
        private boolean isSingleWordQuery(final String query) {
            return !Strings.isNullOrEmpty(query) && !query.contains(" ") && !query.contains(" ");
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                this.state++;
                return out;
            } catch (final SmbException e) {
                throw e;
            } catch (final Exception e) {
                throw new SmbException(e.getMessage(), e);
            }
        }
    
        /**
         * Creates a Type 3 (authentication) message in response to the Type 2 message received from the server.
         * @param msg2 the Type 2 message received from the server
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                try {
                    handle.close();
                    fail("Expected IOException to be thrown");
                } catch (IOException e) {
                    assertEquals("Handle close failed", e.getMessage());
                }
    
                verify(mockSmbPipeHandleInternal).close();
                verify(mockSmbNamedPipe).close(); // Should still be called due to finally block
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

                fail("Should throw SuggesterException for unexpected update indices count");
            } catch (SuggesterException e) {
                exceptionThrown = true;
                exceptionMessage = e.getMessage();
                // Check if the message contains the expected text
                // It could be either "Unexpected number of update indices" or "Unexpected number of search indices"
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            assertEquals(
                    "Unknown resolver transport 'illegal'. Supported transports are: wagon, apache, jdk, auto",
                    exception.getMessage());
            properties.remove("maven.resolver.transport");
        }
    
        @Test
        void versionFilteringTest() throws InvalidRepositoryException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

                smbComTreeDisconnect = new SmbComTreeDisconnect(null);
            });
    
            // Verify the exception message indicates the config is null
            assertTrue(exception.getMessage().contains("config"));
        }
    
        /**
         * Test constructor with mock configuration
         */
        @Test
        @DisplayName("Test constructor with mock configuration")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                        assertThrows(SMBProtocolDecodingException.class, () -> notification.readBytesWireFormat(buffer, 0));
    
                assertEquals("Expected structureSize = 24", exception.getMessage());
            }
    
            @ParameterizedTest
            @DisplayName("Should read different oplock levels correctly")
            @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                SMBProtocolDecodingException exception =
                        assertThrows(SMBProtocolDecodingException.class, () -> response.haveResponse(buffer, 0, 100));
    
                assertTrue(exception.getMessage().contains("Signature verification failed"));
            }
        }
    
        @Nested
        @DisplayName("Concurrency Tests")
        class ConcurrencyTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top