Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 2,327 for Exceptions (0.08 sec)

  1. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        }
    
        /**
         * Test exception handling during cleanup
         */
        @Test
        @Timeout(5)
        public void testExceptionHandling() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Configure transport to throw exception on release
            Mockito.doThrow(new RuntimeException("Test exception")).when(mockTransport).release();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            NullPointerException exception = assertThrows(NullPointerException.class, () -> {
                smbComTreeDisconnect = new SmbComTreeDisconnect(null);
            });
    
            // Verify the exception message indicates the config is null
            assertTrue(exception.getMessage().contains("config"));
        }
    
        /**
         * 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)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A simplistic collection which implements only the bare minimum allowed by the spec, and throws
     * exceptions whenever it can.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> {
      // TODO: expose allow nulls parameter?
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @return the resolved NbtAddress or null if not found
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ValueGraph.java

       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
       *       expression involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                                // as it would pull in dependency on:
                                // - maven-plugin-api (for model)
                                // - Plexus Container (for model supporting classes and exceptions)
                                XmlNode root = XmlService.read(is, null);
                                String groupId = mayGetChild(root, "groupId");
                                String artifactId = mayGetChild(root, "artifactId");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheStats.java

       * values. This includes both successful load operations and those that threw exceptions. This is
       * defined as {@code loadSuccessCount + loadExceptionCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheStats.java

       * values. This includes both successful load operations and those that threw exceptions. This is
       * defined as {@code loadSuccessCount + loadExceptionCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         *
         * @param level the severity level of the message
         * @param message the message to be logged
         * @param error the associated exception, or null if not applicable
         */
        void log(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error);
    
        /**
         * Logs a debug message without an associated exception.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      @Param Result result;
      @Param ExceptionType exceptionType;
    
      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top