Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 3,380 for throws (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertNotNull(result);
            assertSame(allocation, result);
        }
    
        @Test
        void testGetInfoWithClass_Incompatible() throws Exception {
            // Test getInfo with incompatible class throws exception
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Set info to SmbInfoAllocation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        @Test
        void testBasedirExtractionWithMissingProject() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(null, null, new Properties());
    
            Object value = ee.evaluate("${basedir}");
    
            assertEquals(System.getProperty("user.dir"), value);
        }
    
        @Test
        void testValueExtractionFromSystemPropertiesWithMissingProject() throws Exception {
            String sysprop = "PPEET_sysprop1";
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

         *
         * @param is the input stream (must not be {@literal null})
         * @return {@link JarInputStream}
         * @throws IORuntimeException if an {@link IOException} occurs
         * @see JarInputStream#JarInputStream(InputStream)
         */
        public static JarInputStream create(final InputStream is) throws IORuntimeException {
            assertArgumentNotNull("is", is);
    
            try {
                return new JarInputStream(is);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTester.java

      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
      public void testLength() throws IOException {
        assertEquals(expected.length(), source.length());
      }
    
      public void testLengthIfKnown() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         * @return The result of the project building, never {@code null}.
         * @throws ProjectBuildingException If the project descriptor could not be successfully built.
         */
        ProjectBuildingResult build(File projectFile, ProjectBuildingRequest request) throws ProjectBuildingException;
    
        /**
         * Builds a project descriptor for the specified artifact.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message.writeULong(invalidType, 8, Type2Message.NTLMSSP_TYPE1);
    
                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidType));
                assertEquals("Not a Type 2 message.", thrown.getMessage());
            }
        }
    
        @Nested
        @DisplayName("Default Flags Tests")
        class DefaultFlagsTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Network.java

       *
       * <p>If this network is directed, the endpoints must be ordered.
       *
       * @throws IllegalArgumentException if there are multiple parallel edges connecting {@code nodeU}
       *     to {@code nodeV}
       * @throws IllegalArgumentException if either endpoint is not an element of this network
       * @throws IllegalArgumentException if the endpoints are unordered and the network is directed
       * @since 27.1
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        }
    
        @Test
        @DisplayName("Filter throws CIFSException: entry is skipped and iteration continues")
        void filterThrows_skipsAndContinues() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("bad", SmbConstants.TYPE_SHARE), entry("good", SmbConstants.TYPE_SHARE));
    
            // First call throws, second accepts
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top