Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,316 for causes (0.05 sec)

  1. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
        void testMessageAndCauseConstructor() {
            // Test the constructor with both message and cause arguments
            String message = "Test message with cause";
            Throwable cause = new IllegalArgumentException("Invalid argument");
            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/InvalidKeyRuntimeException.java

        /**
         * Creates a {@link InvalidKeyRuntimeException}.
         *
         * @param cause
         *            The cause of the exception
         */
        public InvalidKeyRuntimeException(final InvalidKeyException cause) {
            super("ECL0068", asArray(cause), cause);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

            assertNull(exception.getCause(), "Cause should be null for string constructor");
        }
    
        @Test
        void testThrowableConstructor() {
            // Test the constructor with a cause
            Throwable cause = new RuntimeException("Root cause of timeout");
            ConnectionTimeoutException exception = new ConnectionTimeoutException(cause);
            assertEquals("java.lang.RuntimeException: Root cause of timeout", exception.getMessage(),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

        private InvalidVersionSpecificationException cause;
    
        public VersionNotFoundException(
                String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause) {
            super(
                    projectId + ", " + formatLocationInPom(dependency) + " " + dependency.getVersion() + ", pom file "
                            + pomFile,
                    cause);
    
            this.projectId = projectId;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. clause/clause_test.go

    		stmt          = gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    	)
    
    	for _, c := range clauses {
    		if _, ok := buildNamesMap[c.Name()]; !ok {
    			buildNames = append(buildNames, c.Name())
    			buildNamesMap[c.Name()] = true
    		}
    
    		stmt.AddClause(c)
    	}
    
    	stmt.Build(buildNames...)
    
    	if strings.TrimSpace(stmt.SQL.String()) != result {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jun 02 02:50:38 UTC 2020
    - 1012 bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java

            super(message, cause);
    
            this.project = project;
            pluginGroupId = plugin.getGroupId();
            pluginArtifactId = plugin.getArtifactId();
            pluginVersion = plugin.getVersion();
        }
    
        public PluginManagerException(Plugin plugin, String message, Throwable cause) {
            super(message, cause);
    
            pluginGroupId = plugin.getGroupId();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/TransportException.java

         * Constructs a new TransportException with the specified cause.
         * @param rootCause the cause of this exception
         */
        public TransportException(final Throwable rootCause) {
            super(rootCause);
        }
    
        /**
         * Constructs a new TransportException with the specified detail message and cause.
         * @param msg the detail message
         * @param rootCause the cause of this exception
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/NoSuchAlgorithmRuntimeException.java

        /**
         * Creates a {@link NoSuchAlgorithmRuntimeException}.
         *
         * @param cause
         *            The cause of the exception
         */
        public NoSuchAlgorithmRuntimeException(final NoSuchAlgorithmException cause) {
            super("ECL0067", asArray(cause), cause);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top