Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2001 - 2010 of 2,976 for throw (0.02 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            return artifact;
        }
    
        private Artifact createTestArtifact(String directory, String type) throws IOException {
            return createTestArtifact(directory, "1.0", type);
        }
    
        private Artifact createTestArtifact(String directory, String version, String type) throws IOException {
            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
            testData.mkdirs();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

     */
    class KerberosEncDataTest {
    
        /**
         * Test constructor with a valid token.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
        void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
            // Build a sample Kerberos EncData structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/BaseConfigurationTest.java

     */
    class BaseConfigurationTest {
    
        private BaseConfiguration config;
    
        @BeforeEach
        void setUp() throws CIFSException {
            config = new BaseConfiguration(false);
        }
    
        @Test
        @DisplayName("Test constructor with initDefaults true")
        void testConstructorWithInitDefaults() throws CIFSException {
            BaseConfiguration configWithDefaults = new BaseConfiguration(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObject() throws Exception {
            final NumberConverter converter = new NumberConverter("##0");
            assertThat(converter.getAsObject("100"), is((Object) Long.valueOf("100")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsString() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTransportPoolTest.java

        @Nested
        @DisplayName("GetSmbTransport Methods")
        class GetSmbTransportTests {
    
            @Test
            @DisplayName("Should get transport by name with default parameters")
            void testGetSmbTransportByName() throws UnknownHostException, IOException {
                // Given
                when(transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false)).thenReturn(transport);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        @BeforeEach
        public void setup() throws Exception {
            this.cfg = new BaseConfiguration(true);
        }
    
        /**
         * Sub-class of {@link BaseConfiguration} that forces {@code useUnicode()}
         * to return {@code false}. This mimics an ASCII only client
         */
        private static class OffUnicodeConfig extends BaseConfiguration {
            public OffUnicodeConfig() throws Exception {
                super(true);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

         *
         * @param model the input model
         * @return the transformed model, or the input model if no transformation is needed
         * @throws ModelTransformerException
         */
        @Nonnull
        default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException {
            return model;
        }
    
        /**
         * Apply a transformation on the raw models.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataSource.java

        @Override
        ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException;
    
        List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
                throws ArtifactMetadataRetrievalException;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink
    
      /** This should update the HTTP engine's sentRequestMillis field. */
      @Throws(IOException::class)
      fun writeRequestHeaders(request: Request)
    
      /** Flush the request to the underlying socket. */
      @Throws(IOException::class)
      fun flushRequest()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> List<T> lookupList(Class<T> type);
    
        /**
         * Performs a collection lookup for given typed components.
         *
         * @param type The component type.
         * @return The map of components. The map may be empty if no components found.
         * @param <T> The component type.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top