Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,922 for Try (0.01 sec)

  1. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

      }
    
      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
       * This Iterator claims to have more elements than the underlying iterable, but when you try to
       * fetch the extra elements, it throws an unchecked exception.
       */
      static class ThrowsAtEndIterator<E> implements Iterator<E> {
        Iterator<E> iterator;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

            if (!external) {
                disableExternalResources(schemaFactory);
            }
            return schemaFactory;
        }
    
        private static void disableExternalResources(final SchemaFactory schemaFactory) {
            try {
                schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
                schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, "");
            } catch (final Exception e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenParser.java

                    context.extensions,
                    (MavenOptions) context.options);
        }
    
        @Override
        protected MavenOptions parseArgs(String source, List<String> args) throws ParserException {
            try {
                return CommonsCliMavenOptions.parse(source, args.toArray(new String[0]));
            } catch (ParseException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java

        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
                final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                try {
                    webConfig = webConfigService.getWebConfig(getWebConfigId()).get();
                } catch (final Exception e) {
                    logger.warn("Web Config {} does not exist.", getWebConfigId(), e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

     * AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT
     * yyaoEufLKVXhrTQhRfodTeigi4RX
     * -----END CERTIFICATE-----
     * ```
     */
    fun String.decodeCertificatePem(): X509Certificate {
      try {
        val certificateFactory = CertificateFactory.getInstance("X.509")
        val certificates =
          certificateFactory
            .generateCertificates(
              Buffer().writeUtf8(this).inputStream(),
            )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                .withProjectDir(inputBuildDir)
                .withPluginClasspath()
                .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s")
    
            val (buildResult, failure) = try {
                runner.build()!! to null
            } catch (ex: UnexpectedBuildFailure) {
                ex.buildResult!! to ex
            }
    
            println(buildResult.output)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java

            return 2;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            int len = readStringLength( buffer, bufferIndex, 32 );
            try {
                service = new String( buffer, bufferIndex, len, "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
            bufferIndex += len + 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            if ( this.getErrorCode() != 0 )
                return 4;
    
            try {
                this.securityDescriptor = new SecurityDescriptor();
                bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len);
            }
            catch ( IOException ioe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals.
     * This API does not try to cover all the requirements out there, just the basic ones, and is intentionally simple.
     * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should
     * probably roll its own.
     * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

         */
    
        public ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException {
            try {
                return (ConflictResolver) container.lookup(ConflictResolver.ROLE, type);
            } catch (ComponentLookupException exception) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top