Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,885 for Exception (0.1 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

        /* Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    
        protected abstract void doConnect() throws Exception;
    
        /* Tear down a connection. If the hard parameter is true, the diconnection
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.ResponseBody;
    
    public final class AsynchronousGet {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        client.newCall(request).enqueue(new Callback() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

      private final OkHttpClient client = new OkHttpClient();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build();
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

    import java.net.URL;
    import java.net.URLClassLoader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ClassLoaderIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractorTest.java

    import java.io.InputStream;
    
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.dbflute.utflute.core.PlainTestCase;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @author shinsuke
     *
     */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/crypto/CachedCipher.java

    import org.codelibs.core.CoreLibConstants;
    import org.codelibs.core.exception.BadPaddingRuntimeException;
    import org.codelibs.core.exception.IllegalBlockSizeRuntimeException;
    import org.codelibs.core.exception.InvalidKeyRuntimeException;
    import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException;
    import org.codelibs.core.exception.NoSuchPaddingRuntimeException;
    import org.codelibs.core.exception.UnsupportedEncodingRuntimeException;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.writer;
    
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggestIndexException;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.action.bulk.BulkItemResponse;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

        }
    
        public void start() {
            try {
                server.start();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        public void stop() {
            try {
                server.stop();
                server.join();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            } finally {
                if (tempDocRoot) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverException.java

        @Serial
        private static final long serialVersionUID = 7252294837746943917L;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
        public ArtifactResolverException(String message, Exception e) {
            super(message, e);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top