Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 683 for Cause (0.13 seconds)

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

         *
         * @param message
         * @param cause
         */
        public MojoExecutionException(String message, Exception cause) {
            super(message, cause);
        }
    
        /**
         * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Throwable</code>
         * and providing a <code>message</code>.
         *
         * @param message
         * @param cause
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

        public InvalidRepositoryException(String message, String repositoryId, MalformedURLException cause) {
            super(message, cause);
            this.repositoryId = repositoryId;
        }
    
        protected InvalidRepositoryException(String message, String repositoryId, ComponentLookupException cause) {
            super(message, cause);
            this.repositoryId = repositoryId;
        }
    
        @Deprecated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

        /**
         * Creates a {@link SAXRuntimeException}.
         *
         * @param cause the underlying exception
         */
        public SAXRuntimeException(final SAXException cause) {
            super("ECL0054", asArray(createMessage(cause)), cause);
        }
    
        /**
         * Creates a message.
         *
         * @param cause the underlying exception
         * @return the message
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

         *            Message code
         * @param args
         *            Array of arguments
         * @param cause
         *            The cause of the exception
         */
        public EmptyArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(argName, messageCode, args, cause);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThat(getRootCause(exception)).isSameInstanceAs(cause);
      }
    
      public void testGetRootCause_loop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getRootCause(cause));
        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolationException.java

            super(message);
        }
    
        public ModelInterpolationException(String message, Throwable cause) {
            super(message, cause);
        }
    
        public ModelInterpolationException(String expression, String message, Throwable cause) {
            super("The POM expression: " + expression + " could not be evaluated. Reason: " + message, cause);
    
            this.expression = expression;
            this.originalMessage = message;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            // Test constructor with Throwable cause
            final Exception cause = new RuntimeException("Root cause");
            final JobProcessingException exception = new JobProcessingException(cause);
    
            assertNotNull(exception);
            assertEquals(cause, exception.getCause());
            assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Test constructor with message and cause
            String message = "Command execution failed with error";
            Throwable cause = new IllegalStateException("Invalid state");
            CommandExecutionException exception = new CommandExecutionException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        Throwable wrapper = e.getCause();
        if (wrapper instanceof WrapperException) {
          Throwable cause = wrapper.getCause();
          if (cause instanceof RuntimeException) {
            throw (RuntimeException) cause;
          } else if (cause instanceof Error) {
            throw (Error) cause;
          }
        }
        throw e;
      }
    
      @Override
      public V get() throws ExecutionException, InterruptedException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
          StackTraceElement[] combined =
              ObjectArrays.concat(cause.getStackTrace(), e.getStackTrace(), StackTraceElement.class);
          cause.setStackTrace(combined);
        }
        if (cause instanceof Exception) {
          throw (Exception) cause;
        }
        if (cause instanceof Error) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top