Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1731 - 1740 of 2,652 for throwIf (0.05 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.features;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    
    /**
     * Thrown when requirements on a tester method or class conflict with each other.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

    
    @SuppressWarnings ( "javadoc" )
    public class KerberosPacAuthData extends KerberosAuthData {
    
        private Pac pac;
    
    
        public KerberosPacAuthData ( byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
            this.pac = new Pac(token, keys);
        }
    
    
        public Pac getPac () {
            return this.pac;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParserException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.Serial;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class thrown by {@link VersionParser}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class VersionParserException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = 1504740189114877333L;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            return 0;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TestLocking.java

                    }
    
                }
            } catch (Exception e) {
                e.printStackTrace();
            } finally {
                numComplete++;
            }
        }
    
        public static void main(String[] args) throws Exception
        {
            if (args.length < 1) {
                System.err.println("usage: TestLocking [-t <numThreads>] [-i <numIter>] [-d <delay>] url");
                System.exit(1);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

        }
    
        /**
         * Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
         */
        @Test
        void testArtifactMapByVersionlessIdOrdering() throws Exception {
            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
            list.add(newArtifact("a"));
            list.add(newArtifact("c"));
            list.add(newArtifact("e"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

        //
        // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testProjectInheritance() throws Exception {
            MavenProject p4 = getProject(projectFile("p4"));
    
            assertEquals("p4", p4.getName());
    
            // ----------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         * <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the exception
         * is thrown so this information is merely meant to assist the user.
         *
         * @return the identifier of the project or an empty string if not known, never {@code null}
         */
        @Nonnull
        String getProjectId();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                throw new CrawlingAccessException("No response body.");
            }
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
            try {
                resultData.setData(SerializeUtil.fromObjectToBinary(generateData(responseData)));
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not serialize object", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top