Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 2,976 for throwIt (0.08 sec)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *   }
     *
     *   @TestSubtype
     *   public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {
     *     return notSubtype(intList);
     *   }
     * }
     *
     * public void testMySubtypes() throws Exception {
     *   new MySubtypeTests().testAllDeclarations();
     * }
     * }
     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

      }
    
      // ToStringHelper's tests are in ToStringHelperTest
    
      @J2ktIncompatible
      @GwtIncompatible("NullPointerTester")
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SMBSignatureValidationException.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Exception thrown when SMB message signature validation fails.
     * Indicates that the integrity of an SMB message could not be verified.
     *
     * @author mbechler
     *
     */
    public class SMBSignatureValidationException extends SmbException {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java

    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertTrue;
    
    import org.junit.Test;
    
    public class SuggestRequestTest {
        @Test
        public void test_isHiraganaQuery() throws Exception {
            SuggestRequest request = new SuggestRequest();
            assertTrue(request.isHiraganaQuery("あ"));
            assertTrue(request.isHiraganaQuery("あおぞら"));
            assertTrue(request.isHiraganaQuery("けんさく"));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

         *
         * @param queryContext the query context containing the query string
         * @param context a consumer for additional query context customization
         * @throws InvalidQueryException if the query string cannot be parsed
         */
        public void buildBaseQuery(final QueryContext queryContext, final Consumer<QueryContext> context) {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            HashMap.class,
            Appendable.class,
            StringBuilder.class,
            StringBuffer.class,
            Throwable.class,
            Exception.class);
      }
    
      public void testGet_io() throws IOException {
        assertEquals(-1, ArbitraryInstances.get(InputStream.class).read());
        assertEquals(-1, ArbitraryInstances.get(ByteArrayInputStream.class).read());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            }
    
            final String validationError = getValidationError(badWord);
            if (validationError != null) {
                throw new IllegalArgumentException("Validation error. " + validationError);
            }
            arraySettings.add(BAD_WORD_SETTINGD_KEY, badWord);
        }
    
        /**
         * Delete a bad word.
         * @param badWord Bad word
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

                // 404
                throw responseManager.new404("Thumbnail for " + form.docId + " is not found.");
            }
    
            final File thumbnailFile = thumbnailManager.getThumbnailFile(doc);
            if (thumbnailFile == null) {
                if (fessConfig.isThumbnailEnabled()) {
                    thumbnailManager.offer(doc);
                }
                // 404
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        @Override
        protected T computeNext(T previous) {
          throw new AssertionFailedError();
        }
      }
    
      private static class BrokenAbstractSequentialIterator extends AbstractSequentialIterator<Object> {
    
        BrokenAbstractSequentialIterator() {
          super("UNUSED");
        }
    
        @Override
        protected Object computeNext(Object previous) {
          throw new SomeUncheckedException();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/AbstractIterator.java

      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      @Override
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top