Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Withrow (0.22 sec)

  1. .cm/plugins/filters/byCodeowner/ignore/index.js

    const throwError = (message, Ctor) => {
        throw new Ctor(message)
    }
    
    const checkPath = (path, originalPath, doThrow) => {
        if (!isString(path)) {
            return doThrow(
                `path must be a string, but got \`${originalPath}\``,
                TypeError
            )
        }
    
        // We don't know if we should ignore EMPTY, so throw
        if (!path) {
            return doThrow(`path must not be empty`, TypeError)
        }
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                                .inputStream(is)
                                .build());
                    } catch (XmlReaderException ne) {
                        // still unreadable even in non-strict mode, rethrow original error
                        throw e;
                    }
    
                    Severity severity = request.isProjectBuild() ? Severity.ERROR : Severity.WARNING;
                    problems.add(
                            severity,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            jarOut.putNextEntry(new ZipEntry(entry));
            Resources.copy(ClassPathTest.class.getResource(entry), jarOut);
            jarOut.closeEntry();
          }
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private static Manifest manifest(String content) throws IOException {
        InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            requireNonNull(target, "target is null");
            if (relativeSource.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
                throw new RepositoryMetadataReadException("Cannot read metadata from '" + mappingFile + "'", e);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryMetadataReadException(
                        "Cannot read metadata from '" + mappingFile + "': " + e.getMessage(), e);
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      }
    
      @Throws(IOException::class)
      fun flush() {
        this.withLock {
          if (closed) throw IOException("closed")
          sink.flush()
        }
      }
    
      @Throws(IOException::class)
      fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          require(errorCode.httpCode != -1)
    
          frameHeader(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove(Range<K> range) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/Utils.java

    import java.util.stream.Collectors;
    
    class Utils {
        static <T> T nonNull(T t) {
            if (t == null) {
                throw new IllegalArgumentException();
            }
            return t;
        }
    
        static <T> T nonNull(T t, String name) {
            if (t == null) {
                throw new IllegalArgumentException(name + " cannot be null");
            }
            return t;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

          @CheckForNull Object p4) {
        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public void removeAll(RangeSet<C> other) {
        throw new UnsupportedOperationException();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top