Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for initCause (0.14 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

                root = ( (TransportException) ioe ).getCause();
            }
            if ( root instanceof InterruptedException ) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
         * @throws IOException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            .withTearDown(tearDown)
            .createTestSuite();
      }
    
      private static LinkageError newLinkageError(Throwable cause) {
        LinkageError error = new LinkageError(cause.toString());
        error.initCause(cause);
        return error;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /*
       * We move the static constants into this class so ProGuard can inline UnsignedLongs entirely
       * unless the user is actually calling a parse method.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractService.java

       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
         * The internal state, which equals external state unless shutdownWhenStartupFinishes is true.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * least one {@code Throwable}) and calling the constructor via reflection. If the exception did
       * not already have a cause, one is set by calling {@link Throwable#initCause(Throwable)} on it.
       * If no such constructor exists, an {@code IllegalArgumentException} is thrown.
       *
       * @throws X if {@code get} throws any checked exception except for an {@code ExecutionException}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          Platform.get().connectSocket(rawSocket, route.socketAddress, socketConnectTimeoutMillis)
        } catch (e: ConnectException) {
          throw ConnectException("Failed to connect to ${route.socketAddress}").apply {
            initCause(e)
          }
        }
    
        // The following try/catch block is a pseudo hacky way to get around a crash on Android 7.0
        // More details:
        // https://github.com/square/okhttp/issues/3245
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            /*
             * We've seen this, so we've seen its causes, too. No need to re-add them. (There's one case
             * where this isn't true, but we ignore it: If we record an exception, then someone calls
             * initCause() on it, and then we examine it again, we'll conclude that we've seen the whole
             * chain before when in fact we haven't. But this should be rare.)
             */
            return false;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
         * The internal state, which equals external state unless shutdownWhenStartupFinishes is true.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedInts.java

        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top