Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 2,976 for throw (0.02 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         * @return complete URL with context path and optional timestamp parameter
         * @throws IllegalArgumentException if input is null or doesn't start with '/'
         */
        public static String url(final String input) {
            if (input == null) {
                final String msg = "The argument 'input' should not be null.";
                throw new IllegalArgumentException(msg);
            }
            if (!input.startsWith("/")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  2. guava/src/com/google/common/util/concurrent/ExecutionList.java

     * order that they are added.
     *
     * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
     * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
     * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged.
     *
     * @author Nishant Thakkar
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataStoreException {
            try {
                updateRepositoryMetadata(localRepository, remoteRepository);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryMetadataStoreException("Error updating group repository metadata", e);
            }
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       *
       * If this does read a value, it starts with the tag and length, and reads an entire value,
       * including any potential composed values.
       *
       * If there's nothing to read and no default value, this will throw an exception.
       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
        val buffer = Buffer().write(byteString)
        val reader = DerReader(buffer)
        return fromDer(reader)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/DialectVersion.java

            return this.smb2;
        }
    
        /**
         * Get the SMB2 dialect identifier
         *
         * @return the dialect
         */
        public final int getDialect() {
            if (!this.smb2) {
                throw new UnsupportedOperationException();
            }
            return this.dialect;
        }
    
        /**
         * Check if this dialect version is at least the specified version
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java

                    });
                }
                return result;
            } catch (final Exception e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            void testConstructorSucceeds(String systemName, int accessMask) {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act & Assert - constructor should not throw
                assertDoesNotThrow(() -> new MsrpcSamrConnect2(systemName, accessMask, ph));
            }
    
            @Test
            @DisplayName("should create instance with valid parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                    case "crawler.hotthread.timeout":
                        return "30s";
                    case "crawler.hotthread.type":
                        return "cpu";
    
                    default:
                        throw new ConfigPropertyNotFoundException(propertyKey);
                    }
                }
    
                @Override
                public Integer getAsInteger(String propertyKey) {
                    String value = get(propertyKey);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) {
          @Override
          public Class<?> loadClass(String name) throws ClassNotFoundException {
            if (disallowedClassNames.contains(name)) {
              throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that.");
            }
            if (name.startsWith(concurrentPackage)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top