Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 2,342 for Exceptions (0.04 sec)

  1. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .isEmpty();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_urlClassLoader_noParent() throws Exception {
        URL url1 = new URL("file:/a");
        URL url2 = new URL("file:/b");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null);
        assertThat(ClassPath.getClassPathEntries(classloader))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/MapsTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class MapsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();
            assertThat(map.size(), is(3));
            assertThat(map.get("a"), is(1));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

    import org.apache.maven.model.Plugin;
    import org.codehaus.plexus.component.composition.CycleDetectedInComponentGraphException;
    
    /**
     * Exception occurring trying to resolve a plugin.
     *
     */
    public class CycleDetectedInPluginGraphException extends Exception {
        private final Plugin plugin;
    
        public CycleDetectedInPluginGraphException(Plugin plugin, CycleDetectedInComponentGraphException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    /**
     * Exception thrown when toolchain factory operations fail.
     *
     * <p>This exception wraps errors that occur during toolchain creation or initialization.</p>
     */
    public class ToolchainFactoryException extends MavenException {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      Map<Element, Element> map;
    
      CollectionBenchmarkSampleData elems;
    
      @Param({"0", "1", "100", "10000"})
      int elements;
    
      @BeforeExperiment
      public void prepareContents() throws Exception {
        mapsImpl = mapEnums.get(implName);
        elems = new CollectionBenchmarkSampleData(elements);
        contents = new HashMap<>();
        for (Element key : elems.getValuesInSet()) {
          contents.put(key, key);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(EncryptContext context) throws Exception {
            if (!validateConfiguration(context)) {
                context.logger.error(messageBuilderFactory
                        .builder()
                        .error("Maven Encryption is not configured, run `mvnenc init` first.")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
        void execute() throws MojoExecutionException, MojoFailureException;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

    /**
     */
    class DefaultBeanConfiguratorPathTest {
    
        private BeanConfigurator configurator;
    
        @BeforeEach
        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ResourceManager.java

                            resource.close();
                            holder.closed = true;
                            totalReleased.incrementAndGet();
                            cleaned++;
                        } catch (Exception e) {
                            log.error("Failed to auto-close resource: {}", holder.resourceId, e);
                        }
                    }
                }
            }
    
            if (cleaned > 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @ParameterizedTest
            @DisplayName("Should throw exception for invalid structure sizes")
            @ValueSource(ints = { 0, 1, 16, 18, 100, 255, 65535 })
            void testInvalidStructureSizes(int structureSize) {
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(structureSize, buffer, 0);
    
                SMBProtocolDecodingException exception =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top