Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 2,652 for throw (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAddAtIndex_unsupportedPresent() {
        assertThrows(UnsupportedOperationException.class, () -> getList().add(0, e0()));
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                logger.warn("Failed to delete data: {}", sessionId, e);
            }
        }
    
        @Override
        public void run() {
            if (dataService == null) {
                throw new FessSystemException("DataService is null.");
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Starting indexUpdater.");
            }
    
            executeTime = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbNamedPipe.java

         * @param tc
         * @throws MalformedURLException
         */
    
        public SmbNamedPipe ( String url, int pipeType, boolean unshared, CIFSContext tc ) throws MalformedURLException {
            super(url, tc);
            this.pipeType = pipeType;
            setNonPooled(unshared);
            if ( !getLocator().isIPC() ) {
                throw new MalformedURLException("Named pipes are only valid on IPC$");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

         * @return response
         * @throws CIFSException
         */
        public <T extends CommonServerMessageBlockResponse> T send ( jcifs.internal.Request<T> req, RequestParam... params ) throws CIFSException {
            return send(req, null, params);
        }
    
    
        /**
         * @param request
         * @param response
         * @param params
         * @return response
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

                    });
                }
                return result;
            } catch (final Exception e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            int readWireFormat( byte[] buffer, int bufferIndex, int len ) {
                int start = bufferIndex;
    
                version = readInt2( buffer, bufferIndex );
    if( version != 3 && version != 1 ) {
        throw new RuntimeException( "Version " + version + " referral not supported. Please report this to jcifs at samba dot org." );
    }
                bufferIndex += 2;
                size = readInt2( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        assertThat(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256)
          .isNotEqualTo(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
      }
    
      @Test
      fun forJavaName_acceptsArbitraryStrings() {
        // Shouldn't throw.
        forJavaName("example CipherSuite name that is not in the whitelist")
      }
    
      @Test
      fun javaName_examples() {
        assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

        List<Object> list = new ArrayList<>(equalityGroup.length);
        for (int i = 0; i < equalityGroup.length; i++) {
          Object element = equalityGroup[i];
          if (element == null) {
            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                    MavenArtifactProperties.LOCAL_PATH));
    
            // == sanity check
            if (result.size() != org.apache.maven.api.DependencyScope.values().length - 1) { // sans "undefined"
                throw new IllegalStateException("Maven4 API dependency scope mismatch");
            }
    
            return result;
        }
    
        @Override
        public Collection<org.eclipse.aether.scope.ResolutionScope> buildResolutionScopes(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top