Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,922 for Try (0.01 sec)

  1. guava/src/com/google/common/base/Throwables.java

    public final class Throwables {
      private Throwables() {}
    
      /**
       * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage:
       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
       * }
       * if (failure != null) {
       *   throwIfInstanceOf(failure, BarException.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                    NtlmPasswordAuthentication auth ) throws SmbException {
            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (NoSuchAlgorithmException ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
                throw new SmbException( "MD5", ex );
            }
    
            try {
                switch (LM_COMPATIBILITY) {
                case 0:
                case 1:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  3. SECURITY.md

    I (the author, [@tiangolo](https://twitter.com/tiangolo)) will review it thoroughly and get back to you.
    
    ## Public Discussions
    
    Please restrain from publicly discussing a potential security vulnerability. 🙊
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Sep 11 16:15:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                tree.connectionState = 2;
            }
    
            try {
                if( log.level >= 3 )
                    log.println( "doConnect: " + addr );
    
                tree.treeConnect(null, null);
            } catch (SmbAuthException sae) {
                NtlmPasswordAuthentication a;
                SmbSession ssn;
    
                if (share == null) { // IPC$ - try "anonymous" credentials
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        public void setValue(final Object target, final Object value) {
            assertArgumentNotNull("target", target);
    
            try {
                final Object convertedValue = convertIfNeed(value);
                assertState(writable, propertyName + " is not writable.");
                if (hasWriteMethod()) {
                    try {
                        MethodUtil.invoke(writeMethod, target, convertedValue);
                    } catch (final Throwable t) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/WriterUtil.java

         */
        public static Writer create(final OutputStream os, final String encoding) {
            assertArgumentNotNull("os", os);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new OutputStreamWriter(os, encoding);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

         *
         * @return {@link SAXParserFactory}の新しいインスタンス
         */
        public static SAXParserFactory newInstance() {
            final SAXParserFactory factory = SAXParserFactory.newInstance();
            try {
                factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
                factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

                });
            }
    
            // start all threads at once
            try {
                startLatch.await();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
    
            // wait for all thread to end
            try {
                endLatch.await();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

    public class LetsEncryptTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        boolean androidMorEarlier = Build.VERSION.SDK_INT <= 23;
        try {
          sendRequest(client, "https://valid-isrgrootx1.letsencrypt.org/robots.txt");
          if (androidMorEarlier) {
            fail();
          }
        } catch (SSLHandshakeException sslhe) {
          assertTrue(androidMorEarlier);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Nov 17 07:40:31 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                server.setHandler(handlers);
            }
    
            public void start() {
                try {
                    server.start();
                } catch (final Exception e) {
                    throw new CrawlerSystemException(e);
                }
            }
    
            public void stop() {
                try {
                    server.stop();
                    server.join();
                } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top