Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,205 for Exceptions (0.14 sec)

  1. src/main/java/org/codelibs/core/io/PropertiesUtil.java

    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.Writer;
    import java.net.URL;
    import java.nio.charset.Charset;
    import java.util.Properties;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * {@link Properties}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class PropertiesUtil {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        try {
          Chars.checkedCast(value);
          fail("Cast to char should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        for (char x : VALUES) {
          for (char y : VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * if this queue is full. This method is generally preferable to method {@link #add}, which can
       * fail to insert an element only by throwing an exception.
       *
       * @throws NullPointerException if the specified element is null
       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e) {
        if (e == null) throw new NullPointerException();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionBean.java

    import org.dbflute.cbean.coption.CursorSelectOption;
    import org.dbflute.cbean.coption.ScalarSelectOption;
    import org.dbflute.cbean.coption.StatementConfigCall;
    import org.dbflute.cbean.dream.SpecifiedColumn;
    import org.dbflute.cbean.exception.ConditionBeanExceptionThrower;
    import org.dbflute.cbean.ordering.OrderByBean;
    import org.dbflute.cbean.paging.PagingBean;
    import org.dbflute.cbean.paging.PagingInvoker;
    import org.dbflute.cbean.scoping.AndQuery;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(0, empty.remaining());
      }
    
      public void testNullWriter() throws Exception {
        // create a null writer
        Writer nullWriter = CharStreams.nullWriter();
        // write to the writer
        nullWriter.write('n');
        String test = "Test string for NullWriter";
        nullWriter.write(test);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharStreamsTest.java

        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(0, empty.remaining());
      }
    
      public void testNullWriter() throws Exception {
        // create a null writer
        Writer nullWriter = CharStreams.nullWriter();
        // write to the writer
        nullWriter.write('n');
        String test = "Test string for NullWriter";
        nullWriter.write(test);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
        ImmutableSetMultimap<V, K> invertedMultimap = builder.build();
        invertedMultimap.inverse = this;
        return invertedMultimap;
      }
    
      /**
       * Guaranteed to throw an exception and leave the multimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/LongMathTest.java

          }
        }
      }
    
      /* Relies on the correctness of isPowerOfTwo(long). */
      public void testLog2Exact() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          // We only expect an exception if x was not a power of 2.
          boolean isPowerOf2 = LongMath.isPowerOfTwo(x);
          try {
            assertEquals(x, 1L << LongMath.log2(x, UNNECESSARY));
            assertTrue(isPowerOf2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

          assertTrue(permutations.hasNext());
          permutations.next();
        }
        assertNoMorePermutations(permutations);
      }
    
      public void testToStringImplWithNullEntries() throws Exception {
        List<@Nullable String> list = Lists.newArrayList();
        list.add("foo");
        list.add(null);
    
        assertEquals(list.toString(), Collections2.toStringImpl(list));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top