Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,976 for throw (0.09 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Send a request over the transport
         *
         * @param request the request to send
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSend(Request request) throws IOException;
    
        /**
         * Receive a response from the transport
         *
         * @param response the response object to populate
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

         * @param response
         * @param params
         * @throws IOException
         * @throws SmbException
         * @throws TransportException
         * @throws EOFException
         */
        private <T extends CommonServerMessageBlock & Response> T sendComTransaction(final CommonServerMessageBlockRequest request,
                final T response, final Set<RequestParam> params) throws IOException, SmbException, TransportException, EOFException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
        doClose(mockCloseable, true);
      }
    
      public void testClose_closeableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
        // when the mock does throw an exception.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java

                throw new IOException("Unable to prompt", e);
            }
        }
    
        @Override
        public String prompt(String message) throws PrompterException {
            try {
                return prompter.prompt(message, null, null);
            } catch (org.apache.maven.api.services.PrompterException e) {
                throw new PrompterException("Unable to prompt", e);
            }
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:48:41 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                        return;
                    case 2:
                        throw new IllegalArgumentException("Invalid argument");
                    case 3:
                        throw new IllegalStateException("Invalid state");
                    case 4:
                        throw new NullPointerException("Null pointer");
                    default:
                        throw new RuntimeException("Generic error");
                    }
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

            this.bytesReceived += byteCount
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun flush() {
          try {
            super.flush()
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun close() {
          if (closed) return
          closed = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                state = RdmaConnectionState.ERROR;
                throw new IOException("DiSNI RDMA connection failed", e);
            }
        }
    
        @Override
        public void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
                throw new IOException("Connection not established");
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                }
            } catch (ConnectionException e) {
                throw new TransferFailedException("Connection failed: " + e.getMessage(), e);
            } catch (AuthenticationException e) {
                throw new TransferFailedException("Authentication failed: " + e.getMessage(), e);
            } catch (AuthorizationException e) {
                throw new TransferFailedException("Authorization failed: " + e.getMessage(), e);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                    try {
                        customCb.executeWithCircuitBreaker(() -> {
                            throw new RuntimeException("non-critical error");
                        }, isFailure);
                        fail("Should have thrown exception");
                    } catch (CIFSException e) {
                        // Expected - exception is thrown but not counted as failure
                    }
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top