Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 3,054 for throws (0.04 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       *     removed
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code duration} is negative
       * @throws IllegalStateException if {@link #expireAfterWrite} was already set
       * @throws ArithmeticException for durations greater than +/- approximately 292 years
       * @since 33.3.0 (but since 25.0 in the JRE <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SIDTest.java

         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testToDisplayStringUnresolved() throws SmbException {
            SID sid = new SID(adminSidString);
            assertEquals(adminSidString, sid.toDisplayString());
        }
    
        /**
         * Test getting the domain SID.
         *
         * @throws SmbException if the SID string is invalid
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        /**
         * Establishes a connection to the SMB server.
         *
         * @throws SmbException if the connection fails
         */
        public void connect() throws SmbException {
            try {
                super.connect(RESPONSE_TIMEOUT);
            } catch (final TransportException te) {
                throw new SmbException("Failed to connect: " + address, te);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

      @DoNotCall("Always throws UnsupportedOperationException")
      public final void putCoalescing(Range<K> range, V value) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        @Nonnull
        default T read(@Nonnull Path path) throws XmlReaderException {
            return read(path, true);
        }
    
        @Nonnull
        default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
            return read(XmlReaderRequest.builder().path(path).strict(strict).build());
        }
    
        @Nonnull
        default T read(@Nonnull InputStream input) throws XmlReaderException {
            return read(input, true);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NameServiceClient.java

         * host with the same IP address.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
         *             if address cannot be resolved
         */
        NetbiosAddress[] getNbtAllByAddress(NetbiosAddress addr) throws UnknownHostException;
    
        /**
         * Retrieve all addresses of a host by it's address. NetBIOS hosts can
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
                }
                try (SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress())) {
                    try (SmbTreeHandleImpl th = browser.ensureTreeConnected()) {
                        if (th.isSMB2()) {
                            throw new SmbUnsupportedOperationException();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.set(msrpcShareGetInfo, info502);
    
            // Test getSecurity with empty descriptor - should throw exception
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                msrpcShareGetInfo.getSecurity();
            });
        }
    
        @Test
        void testGetSecurityWithLargeSecurityDescriptor() throws Exception {
            // Test with large valid security descriptor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top