Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 291 for UnsupportedOperationException (0.26 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

    public class MultimapPutAllMultimapTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3()))));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      // Empty multimaps *do* have defined equals semantics.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

    public class MultimapPutAllMultimapTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3()))));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      // Empty multimaps *do* have defined equals semantics.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

            try {
                InputSource copy = (InputSource) super.clone();
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
                        new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex);
            }
        } // -- InputSource clone()
    
        /**
         * Get the path/URL of the POM or {@code null} if unknown.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

          }
    
          @Override
          public Appendable append(@Nullable CharSequence chars, int off, int len) {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public Appendable append(@Nullable CharSequence chars) {
            throw new UnsupportedOperationException();
          }
        };
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Writer
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 06 14:51:47 GMT 2025
    - 41.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

     *
     * <pre>
     * class Unsupported extends AbstractInvocationHandler {
     *   protected Object handleInvocation(Object proxy, Method method, Object[] args) {
     *     throw new UnsupportedOperationException();
     *   }
     * }
     *
     * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported());
     * </pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        Cache<Integer, Integer> cache =
            new AbstractCache<Integer, Integer>() {
              @Override
              public Integer getIfPresent(Object key) {
                throw new UnsupportedOperationException();
              }
    
              @Override
              public void invalidate(Object key) {
                invalidated.add(key);
              }
            };
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        }
        return trustManagers[0] as X509TrustManager
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager =
        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with OpenJSSE",
        )
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

        this.graph = graph;
        this.node = node;
        this.edgeType = edgeType;
      }
    
      @Override
      public boolean remove(@Nullable Object o) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public int size() {
        if (graph.isDirected()) {
          return predecessorsOrEmpty(node).size()
              + successorsOrEmpty(node).size()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            if (node instanceof Text) {
                target.append(node.nodeValue.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;'))
                return
            }
    
            throw new UnsupportedOperationException("Don't know how to format DOM node: $node")
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                                if (!interpolated.equals(value)) {
                                    try {
                                        c.set(i, interpolated);
                                    } catch (UnsupportedOperationException e) {
                                        return;
                                    }
                                }
                            } else {
                                if (value.getClass().isArray()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
Back to Top