Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 459 for Throwable (0.11 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      private static final class RecordingSubscriberExceptionHandler
          implements SubscriberExceptionHandler {
    
        public SubscriberExceptionContext context;
        public Throwable exception;
    
        @Override
        public void handleException(Throwable exception, SubscriberExceptionContext context) {
          this.exception = exception;
          this.context = context;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

     *
     */
    public class ExtensionResolutionException extends Exception {
    
        private final CoreExtension extension;
    
        public ExtensionResolutionException(CoreExtension extension, Throwable cause) {
            super(
                    "Extension " + extension.getId() + " or one of its dependencies could not be resolved: "
                            + cause.getMessage(),
                    cause);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                if (hasReadMethod()) {
                    return MethodUtil.invoke(readMethod, target, EMPTY_ARGS);
                }
                return FieldUtil.get(field, target);
            } catch (final Throwable t) {
                throw new IllegalPropertyRuntimeException(beanDesc.getBeanClass(), propertyName, t);
            }
        }
    
        @Override
        public void setValue(final Object target, final Object value) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

        val request =
          Request.Builder()
            .url(server.url("/"))
            .post(sleepingRequestBody(500))
            .build()
        val latch = CountDownLatch(1)
        val exceptionRef = AtomicReference<Throwable>()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        call.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                System.err.println("Unable determine version from JAR file: " + e.getMessage());
            }
    
            return properties;
        }
    
        public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) {
            if (logger == null) {
                System.err.println(message);
                if (showStackTrace && e != null) {
                    e.printStackTrace(System.err);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

                return "";
              }
    
              @Override
              void afterRanInterruptiblySuccess(@Nullable Void result) {}
    
              @Override
              void afterRanInterruptiblyFailure(Throwable error) {}
            };
        Thread runner = new Thread(task);
        runner.start();
        isInterruptibleRegistered.await();
        RuntimeException expected = assertThrows(RuntimeException.class, () -> task.interruptTask());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

       * network. Incoming events may have been lost. No further calls to this listener will be made.
       */
      open fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
        response: Response?,
      ) {
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

          return sizeIfKnown.get() == 0L;
        }
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return in.read() == -1;
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Returns the size of this source in bytes, if the size can be easily determined without actually
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionHandler.java

     */
    package org.apache.maven.exception;
    
    /**
     * Transform an exception into useful end-user message.
     *
     * @since 3.0-alpha-3
     */
    public interface ExceptionHandler {
        ExceptionSummary handleException(Throwable e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1023 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

            this.actionClass = actionClass;
        }
    
        public Class<?> getActionClass() {
            return actionClass;
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
            return null;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top