Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 452 for jthrowable (0.13 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          this.map = map;
          this.setUpRan = setUpRan;
        }
    
        @Override
        public Object invoke(Object target, Method method, Object[] args) throws Throwable {
          assertTrue("setUp should have run", setUpRan.get());
          try {
            return method.invoke(map, args);
          } catch (InvocationTargetException e) {
            throw e.getCause();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         * @param args
         *            引数の配列
         * @param cause
         *            原因となった例外
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
         * 引数の名前を返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

         *                {@link #getCause()} method). A {@code null} value is
         *                permitted, and indicates that the cause is nonexistent or unknown.
         */
        public InterpolatorException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LongAddables.java

          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
              };
        } catch (Throwable t) { // we really want to catch *everything*
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new PureJavaLongAddable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean {
        return when (className) {
          "okhttp3.recipes.CheckHandshake" -> true // by design
          "okhttp3.recipes.RequestBodyCompression" -> true // expired token
          else -> false
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

         */
        NPE_IAE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
            return cause instanceof NullPointerException
                || cause instanceof IllegalArgumentException
                || cause instanceof UnsupportedOperationException;
          }
        };
    
        public abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            fair ? "(fair)" : "(nonfair)",
            (timeout == null) ? "untimed" : timeout,
            scenario,
            expectedOutcome);
      }
    
      @Override
      protected void runTest() throws Throwable {
        final Runnable runChosenTest =
            new Runnable() {
              @Override
              public void run() {
                runChosenTest();
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

              }
            };
    
        List<Throwable> exceptions = runThreadsAndReturnExceptions(numThreads, task);
    
        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
        final List<Throwable> exceptions = new ArrayList<>(numThreads);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

         * @param cause The nested cause of this error, may be {@code null}.
         */
        public MetadataParseException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message);
            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                    eventSpy.close();
                } catch (Exception | LinkageError e) {
                    logError("close", e, eventSpy);
                }
            }
        }
    
        private void logError(String action, Throwable e, EventSpy spy) {
            String msg = "Failed to " + action + " spy " + spy.getClass().getName() + ": " + e.getMessage();
    
            if (logger.isDebugEnabled()) {
                logger.warn(msg, e);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top