Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 3,747 for throw (0.02 seconds)

  1. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final StopwordsUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    final String servletPath = request.getServletPath();
                    final String pathPrefix = ADMIN_SERVER + token;
                    if (!servletPath.startsWith(pathPrefix)) {
                        throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token.");
                    }
                    final String path;
                    final String value = servletPath.substring(pathPrefix.length());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

         * @throws NdrException if encoding fails
         */
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    
        /**
         * Decode the output parameters from this DCERPC message.
         * @param buf the buffer to decode from
         * @throws NdrException if decoding fails
         */
        public abstract void decode_out(NdrBuffer buf) throws NdrException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
                    if (Artifact.LATEST_VERSION.equals(version)) {
                        throw new ArtifactNotFoundException("Unable to determine the latest version", artifact);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

            try {
                aClass = Class.forName(type);
                if (DefaultTask.class.isAssignableFrom(aClass) == false) {
                    throw new IllegalArgumentException("Not a task type: " + type);
                }
            } catch (ClassNotFoundException e) {
                throw new IllegalArgumentException("No such task: " + type);
            }
            return (Class<? extends DefaultTask>) aClass;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

      }
    
      private static <T> Callable<T> callableThrowing(Exception exception) {
        return () -> {
          throw exception;
        };
      }
    
      private static Runnable runnableThrowing(RuntimeException e) {
        return () -> {
          throw e;
        };
      }
    
      @SuppressWarnings("serial")
      private static class SampleCheckedException extends Exception {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
                public ASN1Primitive toASN1Primitive() {
                    // Return a primitive that will throw IOException when getEncoded is called
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

            if (name == null) {
                throw new ScriptEngineException("Script engine name parameter is null. A valid script engine name must be provided.");
            }
            final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT));
            if (scriptEngine != null) {
                return scriptEngine;
            }
            throw new ScriptEngineException(name + " is not found.");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                eventCatapult.fire(ExecutionEvent.Type.MojoFailed, session, mojoExecution, e);
    
                throw e;
            }
        }
    
        public void ensureDependenciesAreResolved(
                MojoDescriptor mojoDescriptor, MavenSession session, DependencyContext dependencyContext)
                throws LifecycleExecutionException {
    
            MavenProject project = dependencyContext.getProject();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/lang/ClassUtil.java

            assertArgumentNotNull("clazz", clazz);
    
            try {
                return clazz.newInstance();
            } catch (final InstantiationException e) {
                throw new InstantiationRuntimeException(clazz, e);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(clazz, e);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top