Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 2,652 for throwIf (0.1 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

        public CurlRequest body(final String body) {
            if (bodyStream != null) {
                throw new CurlException("body method is already called.");
            }
            this.body = body;
            return this;
        }
    
        public CurlRequest body(final InputStream stream) {
            if (body != null) {
                throw new CurlException("body method is already called.");
            }
            this.bodyStream = stream;
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            this.builder = builder;
            this.settingsXmlFactory = settingsXmlFactory;
        }
    
        @Override
        public SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException {
    
            try {
                SettingsBuilderResult result = builder.build(SettingsBuilderRequest.builder()
                        .session((Session) java.lang.reflect.Proxy.newProxyInstance(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      public PackageSanityTests() throws Exception {
        DummySubscriber dummySubscriber = new DummySubscriber();
        setDefault(Subscriber.class, dummySubscriber.toSubscriber());
        setDefault(Method.class, DummySubscriber.subscriberMethod());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.9K 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/src/com/google/common/collect/Multimaps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractIterator.java

       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
       * {@code computeNext} is guaranteed to never be called again.
       *
       * <p>If this method throws an exception, it will propagate outward to the {@code hasNext} or
       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/ChecksumHashFunction.java

            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              throwIfUnchecked(e);
              // This should be impossible, since `update` has no `throws` clause.
              throw new UndeclaredThrowableException(e);
            }
            return true;
          } else {
            return false;
          }
        }
    
        private static @Nullable MethodHandle updateByteBuffer() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EvictingQueueTest extends TestCase {
    
      public void testCreateWithNegativeSize() throws Exception {
        assertThrows(IllegalArgumentException.class, () -> EvictingQueue.create(-1));
      }
    
      public void testCreateWithZeroSize() throws Exception {
        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

        }
    
    
        private void parse ( byte[] input ) throws IOException {
            int pos = 0;
            for ( int i = 0; i < 8; i++ ) {
                if ( input[ i ] != NTLMSSP_SIGNATURE[ i ] ) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if ( readULong(input, pos) != NTLMSSP_TYPE2 ) {
                throw new IOException("Not a Type 2 message.");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

        public void contextualize(Context context) throws ContextException {
            properties = (Properties) context.get("SystemProperties");
        }
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top