Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 2,436 for exception (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/Callables.java

        /*
         * setName should usually succeed, but the security manager can prohibit it. Is there a way to
         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. common/config/license-lint.yml

      - Xnet
      - Zlib
    
    reciprocal_licenses:
      - CC0-1.0
      - APSL-2.0
      - CDDL-1.0
      - CDDL-1.1
      - CPL-1.0
      - EPL-1.0
      - IPL-1.0
      - MPL-1.0
      - MPL-1.1
      - MPL-2.0
      - MPL-2.0-no-copyleft-exception
      - Ruby
    
    restricted_licenses:
      - GPL-1.0-only
      - GPL-1.0-or-later
      - GPL-2.0-only
      - GPL-2.0-or-later
      - GPL-3.0-only
      - GPL-3.0-or-later
      - LGPL-2.0-only
      - LGPL-2.0-or-later
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 25 19:26:20 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

                ImmutableMultimap.of(1, "a", 2, "b"), ImmutableMultimap.of(2, "b", 1, "a"))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

                    synchronized (this) {
                        if ((v = value) == null) {
                            try {
                                v = value = supplier.get();
                            } catch (Exception e) {
                                v = value = new AltRes(e);
                            }
                        }
                    }
                }
                if (v instanceof AltRes) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

     * @author shinsuke
     *
     */
    public class UrlFilterImplTest extends PlainTestCase {
        public UrlFilterImpl urlFilter;
    
        public MemoryDataHelper dataHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)//
                    .singleton("urlFilterService", UrlFilterServiceImpl.class)//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableList.java

        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      /**
       * Guaranteed to throw an exception and leave the list unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/RandomAccessFileTest.java

                }
            }
        }
    
    
        /**
         * @param bufSize
         * @param length
         * @param is
         * @throws IOException
         */
        static void verifyRandom ( int bufSize, long length, SmbRandomAccess is ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = ReadWriteTest.getRandom();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableMap.java

            }
            duplicates.put(effectiveEntry, true);
            dupCount++;
            // Make sure we are not overwriting the original entries array, in case we later do
            // buildOrThrow(). We would want an exception to include two values for the duplicate key.
            if (entries == entryArray) {
              // Temporary variable is necessary to defeat bad smartcast (entries adopting the type of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(a, b);
      }
    
      @SuppressWarnings("TestExceptionChecker") // see comment below
      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

            this.treeHandle = th.acquire();
            try {
                this.next = open();
                if ( this.next == null ) {
                    doClose();
                }
            }
            catch ( Exception e ) {
                doClose();
                throw e;
            }
    
        }
    
    
        /**
         * @return the treeHandle
         */
        public final SmbTreeHandleImpl getTreeHandle () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
Back to top