Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 2,652 for throw (0.02 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java

         */
        @Override
        public Requirement clone() {
            try {
                return (Requirement) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
       */
      private static void checkNoConflictInValueBucket(
          Object value, Entry<?, ?> entry, @CheckForNull ImmutableMapEntry<?, ?> valueBucketHead)
          throws BucketOverflowException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

                AltRes(Throwable t) {
                    this.t = t;
                }
            }
        }
    
        @SuppressWarnings("unchecked")
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.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 RequestBodyCompression().run();
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertTermRangeQuery(context, termRangeQuery, boost);
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            writeHeaders(response);
            try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) {
                out.print(text);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        protected abstract void writeHeaders(final HttpServletResponse response);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

         * @return InputSource
         */
        public InputSource clone() {
            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()
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            (buildFinalRelease.isPresent && buildRcNumber.isPresent) ||
            (buildFinalRelease.isPresent && buildMilestoneNumber.isPresent) ||
            (buildRcNumber.isPresent && buildMilestoneNumber.isPresent)
        ) {
            throw InvalidUserDataException("Cannot set any combination of milestoneNumber, rcNumber and finalRelease at the same time")
        }
    
        val versionQualifier = buildVersionQualifier
        val isFinalRelease = finalRelease.isPresent
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          Throwable cause = e.getCause();
          if (policy.isExpectedType(cause)) {
            return;
          }
          throw new AssertionError(
              String.format(
                  "wrong exception thrown from %s when passing null to %s parameter at index %s.%n"
                      + "Full parameters: %s%n"
                      + "Actual exception message: %s",
                  invokable,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

        public ACE[] aces;
    
        public SecurityDescriptor() {
        }
        public SecurityDescriptor(byte[] buffer, int bufferIndex, int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
        public int decode(byte[] buffer, int bufferIndex, int len) throws IOException {
            int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.3K bytes
    - Viewed (0)
Back to top