Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 2,652 for throw (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                throw new ProjectBuilderException("Unable to build project", e);
            }
        }
    
        private static class SourceWrapper implements ModelSource2 {
            private final Source source;
    
            SourceWrapper(Source source) {
                this.source = source;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                    String version = resolveVersion(artifact, request);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            if (artifact.isSnapshot()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileOperationsTest.java

                    }
                    throw e;
                }
                catch ( SmbAuthException e )  {
                    // guest share not accessible
                }
                catch ( SmbException e) {
                    if ("Cannot rename between different trees".equals(e.getMessage())) {
                        // expected
                        return;
                    }
                    throw e;
                }
                finally {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionBean.java

                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        fun createPerformanceTestsFor(model: CIBuildModel, stage: Stage, performanceTestCoverage: PerformanceTestCoverage, bucketIndex: Int): PerformanceTest
    
        fun getName(testCoverage: TestCoverage): String = throw UnsupportedOperationException()
    }
    
    data class TestProjectDuration(val testProject: String, val scenarioDurations: List<PerformanceTestDuration>) {
        val totalTime: Int = scenarioDurations.sumOf { it.durationInMs }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

      fun run() {
        val request =
          Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for (certificate in response.handshake!!.peerCertificates) {
            println(CertificatePinner.pin(certificate))
          }
        }
      }
    }
    
    fun main() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     * with it.
     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            file.close();
            tmp = null;
        }
    
    /**
     * Writes the specified byte to this file output stream.
     *
     * @throws IOException if a network error occurs
     */
    
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        return this
      }
    
      @Throws(UnknownHostException::class)
      fun lookup(
        hostname: String,
        index: Int,
      ): InetAddress {
        return hostAddresses[hostname]!![index]
      }
    
      @Throws(UnknownHostException::class)
      override fun lookup(hostname: String): List<InetAddress> {
        requestedHosts.add(hostname)
        return hostAddresses[hostname] ?: throw UnknownHostException()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Flushables.java

       *     an {@code IOException}.
       * @see Closeables#close
       */
      public static void flush(Flushable flushable, boolean swallowIOException) throws IOException {
        try {
          flushable.flush();
        } catch (IOException e) {
          if (swallowIOException) {
            logger.log(Level.WARNING, "IOException thrown while flushing Flushable.", e);
          } else {
            throw e;
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            if (!iterator.hasNext()) {
              iterator = iterable.iterator();
            }
            return iterator.next();
          }
    
          @Override
          public void remove() {
            throw new UnsupportedOperationException();
          }
        };
      }
    
      static <T extends @Nullable Object> T get(Iterator<T> iterator, int position) {
        for (int i = 0; i < position; i++) {
          iterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top