Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 636 for Cause (0.15 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java

        }
    
        /**
         * Creates a new exception with specified cause
         *
         * @param cause
         * @param groupId
         * @param artifactId
         * @param version
         */
        public UnresolvableModelException(Throwable cause, String groupId, String artifactId, String version) {
            super(cause);
            this.groupId = groupId;
            this.artifactId = artifactId;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertSame(cause, getRootCause(exception));
      }
    
      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);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

         *
         * <p>Note that the detail message associated with {@code cause} is <i>not</i>
         * automatically incorporated in this exception's detail message.</p>
         *
         * @param message the detail message (which is saved for later retrieval
         *                by the {@link #getMessage()} method).
         * @param cause   the cause (which is saved for later retrieval by the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       */
      public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@CheckForNull Error cause) {
        super(cause);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        assertThat(expected).hasCauseThat().isEqualTo(cause);
    
        Object newValue = new Object();
        valueRef.set(newValue);
        assertSame(newValue, cache.getUnchecked(new Object()));
      }
    
      public void testGetUnchecked_unchecked() {
        final RuntimeException cause = new RuntimeException();
        final AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

            this(message, -1, -1, cause);
        }
    
        public ModelParserException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message, cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        public ModelParserException(Throwable cause) {
            this(null, cause);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Sep 22 07:25:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

        public TwoArgConstructorException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class TwoArgConstructorRuntimeException extends RuntimeException {
        public TwoArgConstructorRuntimeException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class ExceptionWithPrivateConstructor extends Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

         * @param messageCode message code
         * @param cause cause of exception
         */
        public ClRuntimeException(final String messageCode, final Throwable cause) {
            this(messageCode, new Object[0], cause);
        }
    
        /**
         * Creates {@link ClRuntimeException}.
         *
         * @param messageCode message code
         * @param args arguments for messages
         * @param cause cause of exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. internal/kms/errors.go

    	APICode string // The API error code identifying the error
    	Err     string // The error message returned to the client
    	Cause   error  // Optional, lower level error cause.
    }
    
    func (e Error) Error() string {
    	if e.Cause == nil {
    		return e.Err
    	}
    	return fmt.Sprintf("%s: %v", e.Err, e.Cause)
    }
    
    func errKeyCreationFailed(err error) Error {
    	return Error{
    		Code:    http.StatusInternalServerError,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

        public BuildFailure(MavenProject project, long execTime, long wallTime, Throwable cause) {
            super(project, execTime, wallTime);
            this.cause = cause;
        }
    
        /**
         * Gets the cause of the build failure.
         *
         * @return The cause of the build failure or {@code null} if unknown.
         */
        public Throwable getCause() {
            return cause;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top