Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 344 for Throwable (0.06 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/MavenExecutionException.java

        public MavenExecutionException(String message, File pomFile, ProjectBuildingException cause) {
            super(message, cause);
            this.pomFile = pomFile;
        }
    
        public MavenExecutionException(String message, Throwable cause) {
            super(message, cause);
        }
    
        public File getPomFile() {
            return pomFile;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginIncompatibleException.java

        public PluginIncompatibleException(Plugin plugin, String message) {
            this(plugin, message, null);
        }
    
        public PluginIncompatibleException(Plugin plugin, String message, Throwable cause) {
            super(plugin, message, cause);
        }
    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)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java

         * @param repository The repository that caused the error, may be {@code null}.
         * @param cause The cause, may be {@code null}.
         */
        public InvalidRepositoryException(String message, Repository repository, Throwable cause) {
            super(message, cause);
            this.repository = repository;
        }
    
        /**
         * Creates a new exception with specified detail message for the given repository.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

            if (outputStream instanceof PrintStream ps) {
                return ps;
            }
            return new PrintStream(outputStream, true);
        }
    
        @Override
        public void log(Level level, String message, Throwable error) {
            requireNonNull(level, "level");
            requireNonNull(message, "message");
            if (level.ordinal() >= threshold.ordinal()) {
                out.println("[" + level.name() + "] " + message);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.foo();
        for (LogRecord unused : handler.getStoredLogRecords()) {
          ExampleClassUnderTest.foo();
        }
      }
    
      @Override
      public final void runBare() throws Throwable {
        try {
          setUp();
          runTest();
        } finally {
          tearDown();
        }
      }
    
      @Override
      protected void tearDown() {
        stack.runTearDown();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/cache/MavenExecutionException.java

        /**
         * Constructs a new MavenExecutionException with the specified cause.
         *
         * @param cause The underlying exception that caused the execution failure
         */
        public MavenExecutionException(Throwable cause) {
            super(cause);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

         */
        NPE_IAE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
            return cause instanceof NullPointerException
                || cause instanceof IllegalArgumentException
                || cause instanceof UnsupportedOperationException;
          }
        };
    
        abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

            super(message, cause);
            this.repositoryId = repositoryId;
        }
    
        @Deprecated
        public InvalidRepositoryException(String message, Throwable t) {
            super(message, t);
            this.repositoryId = null;
        }
    
        public InvalidRepositoryException(String message, String repositoryId) {
            super(message);
            this.repositoryId = repositoryId;
    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)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                    eventSpy.close();
                } catch (Exception | LinkageError e) {
                    logError("close", e, eventSpy);
                }
            }
        }
    
        private void logError(String action, Throwable e, EventSpy spy) {
            String msg = "Failed to " + action + " spy " + spy.getClass().getName() + ": " + e.getMessage();
    
            if (logger.isDebugEnabled()) {
                logger.warn(msg, e);
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionResolutionException.java

        private final String groupId;
    
        private final String artifactId;
    
        private final String baseMessage;
    
        public PluginVersionResolutionException(String groupId, String artifactId, String baseMessage, Throwable cause) {
            super("Error resolving version for plugin '" + groupId + ":" + artifactId + "': " + baseMessage, cause);
    
            this.groupId = groupId;
            this.artifactId = artifactId;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top