Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 3,054 for throws (0.53 sec)

  1. 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)
  2. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * throws a RuntimeException when retrieving the nth element.
         *
         * If the PeekingIterator is caching elements too aggressively,
         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
    
            // When
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K 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/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)
  7. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

                throws IOException, XmlPullParserException {
            return buildSettings(userSettingsFile);
        }
    
        private Settings build(SettingsBuildingRequest request) throws IOException, XmlPullParserException {
            try {
                return settingsBuilder.build(request).getEffectiveSettings();
            } catch (SettingsBuildingException e) {
                throw new IOException(e.getMessage(), e);
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public <T extends B> @Nullable T putInstance(Class<T> type, T value) {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

        MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
    
        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException;
    
        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException;
    
        MavenProject buildWithDependencies(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top