Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 3,030 for thrown (0.04 sec)

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

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Describes a problem that was encountered during project building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface BuilderProblem {
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testToString_misbehaving() throws Exception {
        assertThat(
                new AbstractFuture<Object>() {
                  @Override
                  public String pendingToString() {
                    throw new RuntimeException("I'm a misbehaving implementation");
                  }
                }.toString())
            .matches(
                "[^\\[]+\\[status=PENDING, info=\\[Exception thrown from implementation: "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      /**
       * Value for [B1_MASK_LENGTH] which indicates the next eight bytes are the unsigned
       * length.
       */
      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BiMap.java

       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
       *     map entries may have been added to the bimap before the exception was thrown.
       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        private long ttl;
        private String server; // Server
        private String share; // Share
        private String link;
        private String path; // Path relative to tree from which this referral was thrown
    
        private long expiration;
        private int rflags;
    
        private boolean resolveHashes;
    
        private DfsReferralDataImpl next;
        private Map<String, DfsReferralDataInternal> map;
        private String key;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Queues.java

       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // BlockingQueue
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

         * @return selected channel
         * @throws NoAvailableChannelException if no healthy channels available
         */
        public ChannelInfo selectChannel(CommonServerMessageBlock message) throws NoAvailableChannelException {
            Collection<ChannelInfo> availableChannels = manager.getHealthyChannels();
    
            if (availableChannels.isEmpty()) {
                throw new NoAvailableChannelException("No healthy channels available");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Execute and verify exception is thrown
            assertThrows(SmbException.class, () -> tree.send(request, response));
            // After network name deleted error, tree should be disconnected
            assertEquals(0, tree.connectionState);
        }
    
        @Test
        void testSendInvalidOperationForNonDiskService() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "PRINT");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/transport/Transport.java

         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    
        /**
         * Establishes a connection to the remote endpoint.
         *
         * @throws Exception if the connection fails
         */
        protected abstract void doConnect() throws Exception;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertNull(context.getSigningKey()); // Signing key should not be generated
        }
    
        @Test
        void testInitSecContext_invalidState() throws SmbException {
            // Test that calling initSecContext in an invalid state throws an exception
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top