Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1911 - 1920 of 3,282 for throwIt (0.05 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
            auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass");
    
            // Initialize ServerData to avoid NullPointerException
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/math/Stats.java

       * Double#NEGATIVE_INFINITY} only, the result is {@link Double#NEGATIVE_INFINITY}.
       *
       * <p>If you only want to calculate the mean, use {@link #meanOf} instead of creating a {@link
       * Stats} instance.
       *
       * @throws IllegalStateException if the dataset is empty
       */
      public double mean() {
        checkState(count != 0);
        return mean;
      }
    
      /**
       * Returns the sum of the values.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
     * throw new SuggesterException("An error occurred");
     * throw new SuggesterException(new IOException("IO error"));
     * throw new SuggesterException("An error occurred", new IOException("IO error"));
     * </pre>
     *
     * @see RuntimeException
     */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java

        }
    
        @Override
        public void execute(MavenSession session, List<MojoExecution> mojoExecutions) throws LifecycleExecutionException {
            executions.addAll(mojoExecutions);
        }
    
        @Override
        public List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session)
                throws LifecycleExecutionException {
            return null;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          DELIMITER_DOT, DELIMITER_SPACE, DELIMITER_SEMICOLON -> {
            throw IOException("unexpected delimiter")
          }
        }
    
        // "002F" or "0000..002C"
        val sourceCodePoint0 = readHexadecimalUnsignedLong()
        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ArrayListMultimap.java

       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

    import okio.BufferedSource
    import okio.ForwardingSource
    import okio.buffer
    
    /** Rewrites the response body returned from the server to be all uppercase.  */
    class UppercaseResponseInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response = uppercaseResponse(chain.proceed(chain.request()))
    
      private fun uppercaseResponse(response: Response): Response {
        val uppercaseBody: ResponseBody =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuilder.java

         * @return The result of the toolchains building, never {@code null}.
         * @throws ToolchainsBuildingException If the effective toolchains could not be built.
         */
        ToolchainsBuildingResult build(ToolchainsBuildingRequest request) throws ToolchainsBuildingException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    @NullUnmarked
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        File file = out.getFile();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top