Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,885 for Exception (0.11 sec)

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

    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    public class CountingOutputStreamTest extends IoTestCase {
    
      public void testCount() throws Exception {
        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
        assertEquals(written, out.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *   <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link
       *       Futures#getChecked(Future, Class) Futures.getChecked}.
       *   <li>To get uninterruptibility and remove checked exceptions, use {@link
       *       Futures#getUnchecked}.
       * </ul>
       *
       * @throws ExecutionException if the computation threw an exception
       * @throws CancellationException if the computation was cancelled
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial008b_an_py39.py

    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 775 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

    import org.codelibs.fess.app.web.base.login.FessLoginAssist.LoginCredentialResolver;
    import org.codelibs.fess.app.web.base.login.SpnegoCredential;
    import org.codelibs.fess.exception.SsoLoginException;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.sso.SsoAuthenticator;
    import org.codelibs.fess.sso.SsoResponseType;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    /**
     * {@link UnsupportedOperationException}をラップする例外です。
     *
     * @author wyukawa
     */
    public class ClUnsupportedOperationException extends UnsupportedOperationException {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ParseRuntimeException.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.text.ParseException;
    
    /**
     * 解析できなかった場合にスローされる例外です。
     *
     * @author higa
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

        private File getSettings(String name) {
            return new File("src/test/resources/settings/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
            SettingsBuilder builder = new DefaultSettingsBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.helper;
    
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    
    /**
     * @author shinsuke
     *
     */
    public class UrlConvertHelper {
    
        protected Map<String, String> convertMap = new LinkedHashMap<>();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. test-site/app/Global.java

                ComponentsUtil.suggester = Suggester.builder().build(ComponentsUtil.runner.client(), "test");
                ComponentsUtil.suggester.createIndexIfNothing();
            } catch (Exception e) {
                Logger.error("Failed to create components.", e);
            }
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Feb 23 14:02:03 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  10. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Exception e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
          if (!fetchedUrls.add(url)) {
            continue;
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
Back to top