Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 1,188 for Exception (0.05 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * Base exception.
     *
     */
    public abstract class AbstractMojoExecutionException extends Exception {
        protected Object source;
    
        protected String longMessage;
    
        public AbstractMojoExecutionException(String message) {
            super(message);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object event) throws Exception {}
    
        @Override
        public void close() throws Exception {}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

     */
    @NullUnmarked
    public class ChecksumHashFunctionTest extends TestCase {
    
      public void testCrc32_equalsChecksumValue() throws Exception {
        assertChecksum(CRC_32, "");
        assertChecksum(CRC_32, "Z");
        assertChecksum(CRC_32, "foobar");
      }
    
      public void testAdler32_equalsChecksumValue() throws Exception {
        assertChecksum(ADLER_32, "");
        assertChecksum(ADLER_32, "Z");
        assertChecksum(ADLER_32, "foobar");
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

        @Inject
        private PlexusContainer container;
    
        private File testDirectory;
    
        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
        }
    
        @Test
        void testSettingsNoPom() throws Exception {
            PomTestWrapper pom = buildPom("settings-no-pom");
            assertEquals("local-profile-prop-value", pom.getValue("properties/local-profile-prop"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = newCachedThreadPool();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 10 21:03:40 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            @ValueSource(strings = {"4.0.0", "4.1.0", "4.2.0"})
            @DisplayName("should detect model version")
            void shouldDetectModelVersionFromNamespace(String targetVersion) throws Exception {
                String pomXml = PomBuilder.create()
                        .namespace("http://maven.apache.org/POM/" + targetVersion)
                        .modelVersion(targetVersion)
                        .groupId("test")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/DependencyResolutionRequiredException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    /**
     * Exception that occurs when an artifact file is used, but has not been resolved.
     *
     * TODO it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception?
     */
    public class DependencyResolutionRequiredException extends Exception {
        public DependencyResolutionRequiredException(Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java

    /**
     * The Exception class throw by the {@link ToolchainsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class ToolchainsBuilderException extends MavenBuilderException {
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public ToolchainsBuilderException(String message, Exception e) {
            super(message, e);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverException.java

        private final ArtifactResolverResult result;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         * @param result the resolution result containing detailed information
         */
        public ArtifactResolverException(String message, Exception e, ArtifactResolverResult result) {
            super(message, e);
            this.result = result;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top