Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,790 for threw (0.05 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

            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;
        }
    
        @Override
        public SecDispatcher.ValidationResponse validateConfiguration(String config) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptParser.java

            try {
                return CommonsCliEncryptOptions.parse(args.toArray(new String[0]));
            } catch (ParseException e) {
                throw new ParserException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    
        @Override
        protected EncryptOptions assembleOptions(List<EncryptOptions> parsedOptions) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/IoTestCase.java

      private File getTestDir() throws IOException {
        if (testDir != null) {
          return testDir;
        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                            .orElse(() -> {
                                if (isApiRequest && ComponentUtil.getFessConfig().getApiAccessTokenRequiredAsBoolean()) {
                                    throw new InvalidAccessTokenException("invalid_token", "Access token is requried.");
                                }
                                if (!hasAccessToken || roleSet.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        }
      }
    
      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
          throw failure + AssertionError("uncaught exception thrown during test", uncaughtException)
        }
    
        if (context.isFlaky()) {
          logEvents()
        }
    
        LogManager.getLogManager().reset()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileOperationsTest.java

                    }
                    throw e;
                }
                catch ( SmbAuthException e )  {
                    // guest share not accessible
                }
                catch ( SmbException e) {
                    if ("Cannot rename between different trees".equals(e.getMessage())) {
                        // expected
                        return;
                    }
                    throw e;
                }
                finally {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            try {
                form.content = encodeJsp(new String(FileUtil.readBytes(jspFile), Constants.UTF_8));
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Invalid encoding", e);
            }
            saveToken();
            return asEditHtml(form);
        }
    
        @Execute
        @Secured({ ROLE })
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

        trustManagerFactory.init((KeyStore) null);
        TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
        if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
          throw new IllegalStateException("Unexpected default trust managers:"
              + Arrays.toString(trustManagers));
        }
        return (X509TrustManager) trustManagers[0];
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
Back to top