Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1971 - 1980 of 3,637 for throwIf (0.07 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

        @Mock
        private ToolchainFactory toolchainFactoryBasicType;
    
        @Mock
        private ToolchainFactory toolchainFactoryRareType;
    
        @Mock
        private Lookup lookup;
    
        @BeforeEach
        void onSetup() throws Exception {
            MockitoAnnotations.initMocks(this);
    
            Map<String, ToolchainFactory> factories = new HashMap<>();
            factories.put("basic", toolchainFactoryBasicType);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method
       * throws {@link IllegalStateException}, whereas the {@code java.util} counterpart throws {@link
       * java.util.NoSuchElementException NoSuchElementException}.
       *
       * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        @Override
        void visitTypeVariable(TypeVariable<?> t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        void visitWildcardType(WildcardType t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        void visitParameterizedType(ParameterizedType t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

        /**
         * Test that password comparison is constant-time by comparing execution times
         * for passwords that differ at different positions.
         */
        @Test
        public void testConstantTimePasswordComparison() throws Exception {
            char[] basePassword = "supersecretpassword123456789".toCharArray();
            char[] diffAtStart = "Xupersecretpassword123456789".toCharArray();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                    }
                    if (line ==~ /\/\/\s*AUTOSENSE\s*/) {
                        throw new InvalidUserDataException("$file:$lineNumber: "
                            + "AUTOSENSE has been replaced by CONSOLE.")
                    }
                    if (line ==~ /\/\/\s*CONSOLE\s*/) {
                        if (snippet == null) {
                            throw new InvalidUserDataException("$file:$lineNumber: "
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbEndOfFileException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Exception thrown when reaching the end of an SMB file.
     *
     * This exception is thrown during read operations when
     * attempting to read beyond the end of a file.
     *
     * @author mbechler
     */
    public class SmbEndOfFileException extends SmbException {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilder.java

        ModelBuilderSession newSession();
    
        interface ModelBuilderSession {
    
            ModelBuilderResult build(ModelBuilderRequest request) throws ModelBuilderException;
        }
    
        Model buildRawModel(ModelBuilderRequest request) throws ModelBuilderException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

        }
      }
    
      /** Constructor for use by subclasses. */
      protected AbstractIdleService() {}
    
      /** Start the service. */
      protected abstract void startUp() throws Exception;
    
      /** Stop the service. */
      protected abstract void shutDown() throws Exception;
    
      /**
       * Returns the {@link Executor} that will be used to run this service. Subclasses may override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

     * for background.
     */
    @RunWith(AndroidJUnit4.class)
    public class LetsEncryptTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        boolean androidMorEarlier = Build.VERSION.SDK_INT <= 23;
        try {
          sendRequest(client, "https://valid-isrgrootx1.letsencrypt.org/robots.txt");
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 17 07:40:31 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

        private CrawlerEngineClient crawlerEngineClient;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            crawlerEngineClient = new CrawlerEngineClient();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            crawlerEngineClient = null;
            super.tearDown(testInfo);
        }
    
        // Test constructor
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top