Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,922 for Try (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        }
    
        @Override public SocketAddress getLocalSocketAddress() {
          return endpoint;
        }
    
        @Override public Socket accept() throws IOException {
          try {
            UnixSocketChannel channel = serverSocketChannel.accept();
            return new TunnelingUnixSocket(path, channel, endpoint);
          } catch (ClosedChannelException e) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java

            }
            return null;
        }
    
        // TODO: same is in DefaultMavenParser!!! (duplication)
        @Override
        protected MavenOptions parseArgs(String source, List<String> args) throws ParserException {
            try {
                return CommonsCliMavenOptions.parse(source, args.toArray(new String[0]));
            } catch (ParseException e) {
                throw new ParserException("Failed to parse source " + source, e.getCause());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java

         * @see org.codelibs.fess.crawler.entity.AccessResultData#getDataAsString()
         */
        @Override
        public String getDataAsString() {
            if (data == null) {
                return null;
            }
            try {
                return new String(data, StringUtil.isNotBlank(encoding) ? encoding : Constants.UTF_8);
            } catch (final UnsupportedEncodingException e) {
                return new String(data, Constants.UTF_8_CHARSET);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            }
            buf.append(enc);
            final HttpServletResponse response = LaResponseUtil.getResponse();
            response.setContentType(buf.toString());
            writeHeaders(response);
            try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) {
                out.print(text);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            rootLocaleFormat("%s must be inherited.", annotationClass),
            annotationClass.getAnnotation(Inherited.class));
    
        for (String propertyName : new String[] {"value", "absent"}) {
          Method method = null;
          try {
            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            throw new AssertionError("Annotation is missing required method", e);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        }
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method clone.
         *
         * @return InputSource
         */
        public InputSource clone() {
            try {
                InputSource copy = (InputSource) super.clone();
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

            }
        }
    
        @Benchmark
        public int readWithStax(AdditionState state) throws IOException, XMLStreamException {
            int i = 0;
            for (Path pom : state.poms) {
                try (InputStream is = Files.newInputStream(pom)) {
                    MavenStaxReader reader = new MavenStaxReader();
                    reader.setAddLocationInformation(false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

        }
    
        protected static void updateDefaultBadwords() {
            if (defaultWords != null) {
                return;
            }
    
            final List<String> list = new ArrayList<>();
            try (BufferedReader br = new BufferedReader(new InputStreamReader(
                    Thread.currentThread().getContextClassLoader().getResourceAsStream("suggest_settings/default-badwords.txt")))) {
    
                String line;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		Code:           "XMinioServerNotInitialized",
    		Description:    "Server not initialized yet, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrIAMNotInitialized: {
    		Code:           "XMinioIAMNotInitialized",
    		Description:    "IAM sub-system not initialized yet, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrBucketMetadataNotInitialized: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top