Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,885 for Exception (0.09 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class SynchronousGet {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .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.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class AnnotationUtilTest {
    
        /**
         * @throws Exception
         */
        @Hoge(bbb = "3")
        @Test
        public void testGetProperties() throws Exception {
            final Method m = ClassUtil.getMethod(getClass(), "testGetProperties");
            final Annotation anno = m.getAnnotation(Hoge.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

    package org.codelibs.core.security;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertTrue;
    
    import org.codelibs.core.exception.EmptyArgumentException;
    import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException;
    import org.junit.Test;
    
    /**
     * @author shinsuke
     *
     */
    public class MessageDigestUtilTest {
        /**
         *
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

     * under the License.
     */
    package org.apache.maven.cli.internal;
    
    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    /**
     * Exception occurring trying to resolve a plugin.
     *
     */
    public class ExtensionResolutionException extends Exception {
    
        private final CoreExtension extension;
    
        public ExtensionResolutionException(CoreExtension extension, Throwable cause) {
            super(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            new Function<Adder, Adder>() {
              @Override
              public Adder apply(Adder adder) {
                return new FailsToPropagateException(adder);
              }
            },
            "add(",
            "exception");
      }
    
      public void testNotInterfaceType() {
        assertThrows(
            IllegalArgumentException.class,
            () ->
                new ForwardingWrapperTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.codelibs.fess.exception.ContainerNotAvailableException;
    import org.codelibs.fess.timer.SystemMonitorTarget;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.SystemUtil;
    import org.kohsuke.args4j.CmdLineException;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

    import java.io.UnsupportedEncodingException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException;
    
    /**
     * {@link MessageDigest}を扱うユーティリティです。
     *
     * @author higa
     * @author shinsuke
     */
    public abstract class MessageDigestUtil {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(DefaultEncryptInvoker.LocalContext context) throws Exception {
            if (!validateConfiguration(context)) {
                context.terminal
                        .writer()
                        .println(messageBuilderFactory
                                .builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
        void execute() throws MojoExecutionException, MojoFailureException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .build();
      }
    
      private static Iterable<Striped<?>> allImplementations() {
        return concat(strongImplementations(), weakImplementations());
      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top