Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 3,637 for throwIf (0.14 seconds)

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

            return this.treeConnection.getSession();
        }
    
        @Override
        public void ensureDFSResolved() throws CIFSException {
            this.treeConnection.ensureDFSResolved(this.resourceLoc);
        }
    
        @Override
        public boolean hasCapability(final int cap) throws SmbException {
            return this.treeConnection.hasCapability(cap);
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/BiMap.java

       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
       *     map entries may have been added to the bimap before the exception was thrown.
       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

         * errors by throwing an {@link Exception}. Error conditions should provide
         * sufficient detail to aid troubleshooting.</p>
         *
         * @throws Exception if any issue occurs that prevents the successful execution
         *                   of the Mojo
         */
        void execute() throws Exception;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:21:00 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        }
      }
    
      public void testWithGenericBoundInTypeVariable() throws Exception {
        TypeVariable<?> typeVariable =
            (TypeVariable<?>) new WithGenericBound<String>() {}.getTargetType("withTypeVariable");
        assertEquals(String.class, typeVariable.getBounds()[0]);
      }
    
      public void testWithRecursiveBoundInTypeVariable() throws Exception {
        TypeVariable<?> typeVariable =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        }
      }
    
      public void testWithGenericBoundInTypeVariable() throws Exception {
        TypeVariable<?> typeVariable =
            (TypeVariable<?>) new WithGenericBound<String>() {}.getTargetType("withTypeVariable");
        assertEquals(String.class, typeVariable.getBounds()[0]);
      }
    
      public void testWithRecursiveBoundInTypeVariable() throws Exception {
        TypeVariable<?> typeVariable =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/http/Handler.java

        @Override
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext);
        }
    
        private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException {
            synchronized (PROTOCOL_HANDLERS) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         * @return the filesystem info cast to the specified type
         * @throws CIFSException if the information cannot be cast to the specified type
         */
        @SuppressWarnings("unchecked")
        public <T extends FileSystemInformation> T getInfo(final Class<T> clazz) throws CIFSException {
            if (!clazz.isAssignableFrom(this.info.getClass())) {
                throw new CIFSException("Incompatible file information class");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#parseUnsignedInt(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

    @Deprecated
    public class JdkPrefixProfileActivator extends DetectedProfileActivator {
        private static final String JDK_VERSION = System.getProperty("java.version");
    
        @Override
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

         * @return the info cast to the specified type
         * @throws CIFSException if the information cannot be cast to the specified type
         */
        @SuppressWarnings("unchecked")
        public <T extends FileInformation> T getInfo(final Class<T> type) throws CIFSException {
            if (!type.isAssignableFrom(this.info.getClass())) {
                throw new CIFSException("Incompatible file information class");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top