Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 2,976 for throw (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            /**
             * Accepts a writer.
             * @param writer A writer.
             * @throws IOException if an I/O error occurs.
             * @throws TikaException if a Tika exception occurs.
             * @throws SAXException if a SAX exception occurs.
             */
            void accept(Writer writer) throws IOException, TikaException, SAXException;
        }
    
        /**
         * Sets the output encoding.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

       *
       * @deprecated unsupported operation
       * @throws UnsupportedOperationException always
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public @Nullable B put(TypeToken<? extends @NonNull B> key, @ParametricNullness B value) {
        throw new UnsupportedOperationException("Please use putInstance() instead.");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacMac.java

                    if (key == null) {
                        throw new PACDecodingException("Missing key");
                    }
                    return calculateMacArcfourHMACMD5(usage, key, data);
                } else {
                    if ((type != PacSignature.HMAC_SHA1_96_AES128) && (type != PacSignature.HMAC_SHA1_96_AES256)) {
                        throw new PACDecodingException("Invalid MAC algorithm");
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            } catch (Exception e) {
                throw new RuntimeException("Failed to set field " + fieldName, e);
            }
        }
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = findField(obj.getClass(), fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * One is for releases, the other for snapshots.
         * ]]></usage>
         * </expression>
         * <expressions>
         *
         * @throws IOException
         * @throws XmlPullParserException
         */
        private static Map<String, Expression> parseExpressionDocumentation(InputStream docStream)
                throws IOException, XmlPullParserException {
            ParamdocXpp3Reader paramdocReader = new ParamdocXpp3Reader();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTreeHandleTest.java

         * @throws CIFSException
         */
        @Test
        void testGetServerTimeZoneOffset_throwsCIFSException() throws CIFSException {
            when(smbTreeHandle.getServerTimeZoneOffset()).thenThrow(new CIFSException("Test Exception"));
            assertThrows(CIFSException.class, () -> smbTreeHandle.getServerTimeZoneOffset(),
                    "getServerTimeZoneOffset() should throw CIFSException");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacUnicodeStringTest.java

                pacString.check(testString);
            }, "A NullPointerException is thrown when checking a null string.");
        }
    
        /**
         * Tests the {@link PacUnicodeString#check(String)} method with a non-empty string when the pointer is zero.
         * This is an invalid state and should throw an exception.
         */
        @Test
        void testCheck_withNonNullStringAndZeroPointer_throwsException() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
              public Object get(Object key) throws ExecutionException {
                Object v = valueRef.get();
                if (v == null) {
                  throw new ExecutionException(cause);
                }
                return v;
              }
    
              @Override
              public @Nullable Object getIfPresent(Object key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

    import mockwebserver3.QueueDispatcher
    
    class QueueDispatcher : Dispatcher() {
      internal val delegate = QueueDispatcher()
    
      @Throws(InterruptedException::class)
      override fun dispatch(request: RecordedRequest): MockResponse = throw UnsupportedOperationException("unexpected call")
    
      override fun peek(): MockResponse = throw UnsupportedOperationException("unexpected call")
    
      fun enqueueResponse(response: MockResponse) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final StemmerOverrideUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top