Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 6,602 for throws (0.12 sec)

  1. android/guava/src/com/google/common/collect/ImmutableList.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void add(int index, E element) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the list unmodified.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         *
         * @throws Exception if any.
         */
        @Test
        public void testDotDot() throws Exception {
            assertNull(ReflectionValueExtractor.evaluate("h..value", new ValueHolder("value")));
        }
    
        /**
         * <p>testBadIndexedSyntax.</p>
         *
         * @throws Exception if any.
         */
        @Test
        public void testBadIndexedSyntax() throws Exception {
            List<Object> list = new ArrayList<Object>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java

        public JavadocOptionFileWriterContext write(String string) throws IOException {
            writer.write(string);
            return this;
        }
    
        public JavadocOptionFileWriterContext newLine() throws IOException {
            writer.write(SystemProperties.getInstance().getLineSeparator());
            return this;
        }
    
        public JavadocOptionFileWriterContext writeOptionHeader(String option) throws IOException {
            write("-");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      private static final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSource source;
    
      @Override
      protected void setUp() throws Exception {
        source = new TestByteSource(bytes);
      }
    
      public void testOpenBufferedStream() throws IOException {
        InputStream in = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/JsonWriterScope.java

            jsonWriter.name(name).value(number);
        }
    
        protected void write(String name, long length) throws IOException {
            jsonWriter.name(name).value(length);
        }
    
        protected void write(String name, boolean value) throws IOException {
            jsonWriter.name(name).value(value);
        }
    
        protected void write(String name, String value) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/NioFileInterceptors.java

            @CallerClassName String consumer
        ) throws IOException {
            tryReportFileOpened(path, consumer);
            return Files.newBufferedReader(path);
        }
    
        @InterceptCalls
        @StaticMethod(ofClass = Files.class)
        public static BufferedReader intercept_newBufferedReader(
            Path path,
            Charset charset,
            @CallerClassName String consumer
        ) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java

                writeArgs(methodDetails, value);
            }
    
            private void writeArgs(MethodDetails methodDetails, MethodInvocation value) throws Exception {
                methodDetails.argsSerializer.write(encoder, value.getArguments());
            }
    
            private MethodDetails writeMethod(Method method) throws IOException {
                MethodDetails methodDetails = methods.get(method);
                if (methodDetails == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonManager.java

        @Deprecated
        Wagon getWagon(String protocol) throws UnsupportedProtocolException;
    
        @Deprecated
        Wagon getWagon(Repository repository) throws UnsupportedProtocolException, WagonConfigurationException;
    
        //
        // Retriever
        //
        void getArtifact(Artifact artifact, ArtifactRepository repository, TransferListener transferListener, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, TimeUnit.MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
        assertTrue(future.set("value"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * available.
         *
         * @throws InterruptedException if the current thread was interrupted before or during the call
         *     (optional but recommended).
         * @throws CancellationException {@inheritDoc}
         */
        @CanIgnoreReturnValue
        @Override
        public V get(long timeout, TimeUnit unit)
            throws InterruptedException, TimeoutException, ExecutionException {
          return sync.get(unit.toNanos(timeout));
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
Back to top