Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1821 - 1830 of 2,174 for Exception (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

                SourceSinkFactories.appendingFileCharSinkFactory()));
        suite.addTestSuite(FilesTest.class);
        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          case TERMINATED:
          case FAILED:
            throw new AssertionError();
        }
      }
    
      private void enqueueFailedEvent(State from, Throwable cause) {
        // can't memoize this one due to the exception
        listeners.enqueue(
            new ListenerCallQueue.Event<Listener>() {
              @Override
              public void call(Listener listener) {
                listener.failed(from, cause);
              }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

    import java.util.Iterator;
    import java.util.Locale;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.collection.MultiIterator;
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.exception.ParseRuntimeException;
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
     * Utility for converting time-representing objects to {@link Date}, {@link Calendar}, or {@link Time}.
     * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

    import java.util.Iterator;
    import java.util.Locale;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.collection.MultiIterator;
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.exception.ParseRuntimeException;
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
     * Utility for converting objects representing date and time to {@link Date}, {@link Calendar}, and {@link Timestamp}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

        extends AbstractMapTester<K, V> {
      private List<Entry<K, V>> containsNullKey;
      private List<Entry<K, V>> containsNullValue;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        containsNullKey = singletonList(entry(null, v3()));
        containsNullValue = singletonList(entry(k3(), null));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        super(factory, string, suiteName, caseDesc, method);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.source = factory.createSource(data);
      }
    
      public void testOpenStream() throws IOException {
        Reader reader = source.openStream();
    
        StringWriter writer = new StringWriter();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/IoTestCase.java

        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                // This will be implemented when the session integration is complete
                log.debug("Directory lease manager integration not yet complete");
                return null;
            } catch (Exception e) {
                log.debug("Failed to get directory lease manager", e);
                return null;
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.io.SerializeUtil;
    import org.codelibs.fess.util.ComponentUtil;
    
    import com.esotericsoftware.kryo.Kryo;
    import com.esotericsoftware.kryo.io.Input;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (3)
  10. src/test/java/jcifs/smb/MIENameTest.java

            // Act + Assert
            Throwable t = assertThrows(expected, () -> new MIEName(buf));
            // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence
            assertNotNull(t, "Exception should be thrown");
        }
    
        @Nested
        @DisplayName("equals, hashCode, toString")
        class EqualityContract {
    
            @Test
            void equalsIgnoresCaseForName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top