Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 2,652 for throwIt (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileOperationsTest.java

                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
                    }
                }
            }
        }
    
    
        @Test
        public void testRenameDifferentTrees () throws CIFSException, MalformedURLException, UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       * @since 11.0
       */
      @ParametricNullness
      public <E extends T> E min(Iterator<E> iterator) {
        // let this throw NoSuchElementException as necessary
        E minSoFar = iterator.next();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         *            コンストラクタ。{@literal null}であってはいけません
         * @param args
         *            コンストラクタ呼び出しに引数として渡すオブジェクトの配列
         * @return コンストラクタを呼び出すことで作成される新規オブジェクト
         * @throws InstantiationRuntimeException
         *             基本となるコンストラクタを宣言するクラスが{@code abstract}クラスを表す場合
         * @throws IllegalAccessRuntimeException
         *             実パラメータ数と仮パラメータ数が異なる場合、 プリミティブ引数のラップ解除変換が失敗した場合、 またはラップ解除後、
         *             メソッド呼び出し変換によってパラメータ値を対応する仮パラメータ型に変換できない場合、
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
            try (InputStream is = getContentInputStream(out)) {
                return mimeTypeHelper.getContentType(is, filename);
            }
        }
    
        protected InputStream getContentInputStream(final DeferredFileOutputStream out) throws IOException {
            if (out.isInMemory()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         * @param spec string representation of a version or version range
         * @return a new {@link VersionRange} object that represents the spec
         * @throws InvalidVersionSpecificationException if invalid version specification
         */
        public static VersionRange createFromVersionSpec(String spec) throws InvalidVersionSpecificationException {
            if (spec == null) {
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

         * {@inheritDoc}
         * 
         * @throws CIFSException
         *
         * @see jcifs.smb.SSPContext#calculateMIC(byte[])
         */
        @Override
        public byte[] calculateMIC ( byte[] data ) throws CIFSException {
            try {
                return this.gssContext.getMIC(data, 0, data.length, new MessageProp(false));
            }
            catch ( GSSException e ) {
                throw new CIFSException("Failed to calculate MIC", e);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
            try (Writer out = output) {
                new SettingsStaxWriter().write(out, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException("Error writing settings", e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

      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()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

            try {
                cifsContext = new BaseContext(new PropertyConfiguration(props));
            } catch (final CIFSException e) {
                throw new CrawlingAccessException(e);
            }
        }
    
        @Override
        public String generateType1Msg(final String domain, final String workstation) throws NTLMEngineException {
            final Type1Message type1Message = new Type1Message(cifsContext, TYPE_1_FLAGS, domain, workstation);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top