Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2511 - 2520 of 3,804 for throws (0.07 seconds)

  1. android/guava/src/com/google/common/net/PercentEscaper.java

       *     ranges 0..9, a..z and A..Z are always safe and should not be specified here)
       * @param plusForSpace true if ASCII space should be escaped to {@code +} rather than {@code %20}
       * @throws IllegalArgumentException if any of the parameters were invalid
       */
      public PercentEscaper(String safeChars, boolean plusForSpace) {
        // TODO(dbeaumont): Switch to static factory methods for creation now that class is final.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return Primitives.wrap(type).cast(value);
      }
    
        private Object writeReplace() {
        return new SerializedForm<>(delegate());
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/UserService.java

                        }
                        throw new FessUserNotFoundException(username);
                    });
                } else {
                    logger.warn("Password change not applied by authentication manager: username={}", username);
                }
            } catch (final FessUserNotFoundException e) {
                throw e;
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

    public class PagerCreatorTest extends UnitFessTestCase {
    
        private PagerCreator pagerCreator;
        private NamingConvention namingConvention;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            namingConvention = new MockNamingConvention();
            pagerCreator = new PagerCreator(namingConvention);
        }
    
        // Test constructor initialization
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/IndexExportJob.java

         *
         * @param format the format name
         * @return the formatter instance
         * @throws IllegalArgumentException if the format is null, empty, or not supported
         */
        protected IndexExportFormatter createFormatter(final String format) {
            if (format == null || format.trim().isEmpty()) {
                throw new IllegalArgumentException("Export format must not be null or empty");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                        return true; // not a package-info.java file, we ignore it
                    }
                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e, true);
                }
            }
    
            private String getPackageName(File file) throws IOException {
                try (Stream<String> lines = Files.lines(file.toPath())) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * @param dataStore the data store instance to register, must not be null
         * @throws IllegalArgumentException if either name or dataStore is null
         */
        public void add(final String name, final DataStore dataStore) {
            if (name == null || dataStore == null) {
                throw new IllegalArgumentException(
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. CLAUDE.md

    - **License Headers**: Required (use `mvn license:format`)
    
    ### Naming & Style
    
    Standard Java conventions (PascalCase classes, camelCase methods, UPPER_SNAKE_CASE constants). Add JavaDoc with `@param`, `@return`, `@throws` for new public APIs.
    
    ---
    
    ## Quick Reference
    
    ### Essential Files
    
    | File | Purpose |
    |------|---------|
    | `Suggester.java` | Main entry point, index management |
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SmbTreeTest.java

         * Verifies that unwrap can throw exceptions when appropriate.
         */
        @Test
        void testUnwrap_throwsException() {
            when(smbTree.unwrap(any())).thenThrow(new ClassCastException("Cannot unwrap to specified type"));
    
            assertThrows(ClassCastException.class, () -> smbTree.unwrap(CustomSmbTree.class),
                    "Should throw ClassCastException when type is incompatible");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/AbstractCache.java

        }
      }
    
      @Override
      public void invalidateAll() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public CacheStats stats() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      @J2ktIncompatible // Thread safety complexity
      public ConcurrentMap<K, V> asMap() {
        throw new UnsupportedOperationException();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
Back to Top