Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 2,652 for throw (0.06 sec)

  1. guava/src/com/google/common/collect/TreeRangeMap.java

              return null;
            }
    
            @Override
            public Range<Comparable<?>> span() {
              throw new NoSuchElementException();
            }
    
            @Override
            public void put(Range<Comparable<?>> range, Object value) {
              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostForm().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            case VALUE_TRUE -> true;
            case VALUE_FALSE -> false;
            case VALUE_NULL -> null;
            default -> null; // Or throw an exception if unexpected token
            };
        }
    
        protected Object parseArray(final JsonParser jsonParser) throws IOException {
            final List<Object> list = new ArrayList<>();
            while (jsonParser.nextToken() != JsonToken.END_ARRAY) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        resetMap(createArrayWithNullValue());
      }
    
      /**
       * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that
       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

                        return null;
                    }
                    while ( dr != start );
                    throw e;
                }
            }
            catch ( IOException ioe ) {
                if ( tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException ) {
                    throw (SmbAuthException) ioe;
                }
            }
            return null;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    @GwtCompatible(emulated = true)
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    @ElementTypesAreNonnullByDefault
    // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
    // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                        }
                    }
                }
    
                private Model findRawModel(Path from, Path p) {
                    if (!Files.isRegularFile(p)) {
                        throw new IllegalArgumentException("Not a regular file: " + p);
                    }
    
                    if (!addEdge(from, p, problems)) {
                        return null;
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
            new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null});
        // shouldn't throw!
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

            return Optional.empty();
        }
    
        @Override
        public String handle(String config) throws SecDispatcherException {
            if (NAME.equals(config)) {
                try {
                    return prompter.promptForPassword("Enter the master password: ");
                } catch (PrompterException e) {
                    throw new SecDispatcherException("Could not collect the password", e);
                }
            }
            return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        assertEquals(6, (int) future.get());
      }
    
      public void testSameThreadScheduledExecutorWithException() throws InterruptedException {
        Runnable runnable =
            new Runnable() {
              @Override
              public void run() {
                throw new RuntimeException("Oh no!");
              }
            };
    
        Future<?> future = TestingExecutors.sameThreadScheduledExecutor().submit(runnable);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top