Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 2,652 for throw (0.03 sec)

  1. guava/src/com/google/common/reflect/Invokable.java

        }
    
        @Override
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
            throws InvocationTargetException, IllegalAccessException {
          try {
            return constructor.newInstance(args);
          } catch (InstantiationException e) {
            throw new RuntimeException(constructor + " failed.", e);
          }
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        }
    
        protected void createLocalArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, localRepository());
        }
    
        protected void createRemoteArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, remoteRepository());
        }
    
        protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception {
            String path = repository.pathOf(artifact);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        }
    
    
        public String dec_ndr_string () throws NdrException {
            align(4);
            int i = this.index;
            String val = null;
            int len = Encdec.dec_uint32le(this.buf, i);
            i += 12;
            if ( len != 0 ) {
                len--;
                int size = len * 2;
                if ( size < 0 || size > 0xFFFF )
                    throw new NdrException(NdrException.INVALID_CONFORMANCE);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractBaseGraph.java

          }
    
          @Override
          public int size() {
            return Ints.saturatedCast(edgeCount());
          }
    
          @Override
          public boolean remove(@CheckForNull Object o) {
            throw new UnsupportedOperationException();
          }
    
          // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
          // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

            !equivalence.equivalent(itemInfo.value, unrelatedInfo.value));
      }
    
      private void assertWithTemplate(String template, Item<T> item, Item<T> other, boolean condition) {
        if (!condition) {
          throw new AssertionFailedError(
              template
                  .replace("$RELATIONSHIP", relationshipName)
                  .replace("$HASH", hashName)
                  .replace("$ITEM", itemReporter.reportItem(item))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
        return urls.build();
      }
    
      /**
       * These tests fail in JDK 9 and JDK 10 for an unknown reason. It might be the test; it might be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      /**
       * @return the number of exceptions that were suppressed on the expected thrown exception
       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/Logger.java

            case 'E':
                return new LogMessage(LogLevel.ERROR, message);
            case 'F':
                return new LogMessage(LogLevel.FATAL, message);
            default:
                throw new ClIllegalArgumentException("messageCode", "ECL0009", asArray(messageCode, "messageCode : " + messageCode));
            }
        }
    
        /**
         * {@link Logger}を初期化します。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotEmpty("path", path);
    
            final URL url = getResourceNoException(path, extension);
            if (url != null) {
                return url;
            }
            throw new ResourceNotFoundRuntimeException(getResourcePath(path, extension));
        }
    
        /**
         * コンテキストクラスローダからリソースを返します。見つからなかった場合は<code>null</code>を返します。
         *
         * @param path
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsScheduledJobBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends ScheduledJob> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top