Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 384 for throwable (0.03 sec)

  1. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/ChecksumHashFunction.java

        static boolean updateByteBuffer(Checksum cs, ByteBuffer bb) {
          if (UPDATE_BB != null) {
            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              // `update` has no `throws` clause.
              sneakyThrow(e);
            }
            return true;
          } else {
            return false;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              route.address.url.toUri(),
              route.proxy.address(),
              e,
            )
          }
          user.connectFailed(route, null, e)
          return ConnectResult(plan = this, throwable = e)
        } finally {
          user.removePlanToCancel(this)
          if (!success) {
            rawSocket?.closeQuietly()
          }
        }
      }
    
      override fun connectTlsEtc(): ConnectResult {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertEquals("java.lang.RuntimeException: Root cause error", exception.getMessage());
    
            // Test with null cause
            TransportException nullCauseException = new TransportException((Throwable) null);
            assertNull(nullCauseException.getCause());
        }
    
        @Test
        @DisplayName("Test constructor with message and cause creates exception with both")
        public void testConstructorWithMessageAndCause() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

                return method.equals(getAllStatesMethod)
                    ? getAllStates()
                    : invokeListMethod(method, args);
              }
    
              private Set<List<Integer>> getAllStates() {
                return allStates;
              }
    
              private Object invokeListMethod(Method method, Object[] args) throws Throwable {
                try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

        }
    
        @Override
        void afterRanInterruptiblySuccess(@ParametricNullness V result) {
          TrustedListenableFutureTask.this.set(result);
        }
    
        @Override
        void afterRanInterruptiblyFailure(Throwable error) {
          setException(error);
        }
    
        @Override
        String toPendingString() {
          return callable.toString();
        }
      }
    
      @WeakOuter
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java

         *            the target field
         * @param cause
         *            the cause
         */
        public BeanFieldSetAccessibleFailureException(final Class<?> componentClass, final Field targetField, final Throwable cause) {
            super("ECL0115", new Object[] { targetField }, cause);
            this.targetClass = componentClass;
            this.targetField = targetField;
        }
    
        /**
         * Returns the target class.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

         *            the target method
         * @param cause
         *            the cause
         */
        public BeanMethodSetAccessibleFailureException(final Class<?> componentClass, final Method targetMethod, final Throwable cause) {
            super("ECL0116", new Object[] { targetMethod }, cause);
            this.targetClass = componentClass;
            this.targetMethod = targetMethod;
        }
    
        /**
         * Returns the target class.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbAuthException.java

        SmbAuthException(final int errcode) {
            super(errcode, null);
        }
    
        SmbAuthException(final String message) {
            super(message);
        }
    
        SmbAuthException(final String message, final Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top