Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 591 for setMessage (0.41 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java

                Throwable cause = throwable.getCause();
                if (cause == null || cause.getMessage() == null || cause == throwable) {
                    return false;
                }
                return throwable.getMessage() == null || !throwable.getMessage().contains(cause.getMessage());
            }
    
        }
    
        public static class FileLocationAdapter extends TypeAdapter<FileLocation> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java

                logEvent(descriptor, TestLogEvent.STANDARD_OUT, TextUtil.indent(outputEvent.getMessage(), INDENT) + "\n");
            } else if (outputEvent.getDestination() == TestOutputEvent.Destination.StdErr
                    && isLoggedEventType(TestLogEvent.STANDARD_ERROR)) {
                logEvent(descriptor, TestLogEvent.STANDARD_ERROR, TextUtil.indent(outputEvent.getMessage(), INDENT) + "\n");
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/customPlugins/customPluginNoConvention/groovy/build.gradle

    interface GreetingPluginExtension {
        Property<String> getMessage()
    }
    
    class GreetingPlugin implements Plugin<Project> {
        void apply(Project project) {
            // Add the 'greeting' extension object
            def extension = project.extensions.create('greeting', GreetingPluginExtension)
            // Add a task that uses configuration from the extension object
            project.task('hello') {
                doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 22:56:31 UTC 2024
    - 590 bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/Change.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.history.changes;
    
    public interface Change {
        String getMessage();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 726 bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/AbstractDynamicObject.java

                super(name, publicType, params, false, new CustomMessageMissingMethodException(name, publicType, message, params));
            }
    
            @Override
            public String getMessage() {
                return getCause().getMessage();
            }
        }
    
        private static class CustomMessageMissingMethodException extends MissingMethodException {
            private final String message;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

                return new Metadata(new MetadataStaxReader().read(input, false));
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not parse metadata " + metadataPath + ": " + e.getMessage(), e);
            }
        }
    
        private void write(Path metadataPath, Metadata metadata) throws RepositoryException {
            try {
                Files.createDirectories(metadataPath.getParent());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java

        private static final long serialVersionUID = 1L;
    
        public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

                    }
                    errorMessage = stdout.toString();
                }
            } catch (IOException e) {
                errorMessage = e.getMessage();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                errorMessage = e.getMessage();
            }
            if (errorMessage != null) {
                logger.log("Could not set executable permissions for: " + gradleCommand.getAbsolutePath());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                try {
                    while( used == 0 ) {
                        lock.wait();
                    }
                } catch( InterruptedException ie ) {
                    throw new IOException( ie.getMessage() );
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = ( beg_idx + 1 ) % pipe_buf.length;
            }
            return result;
        }
        public int read( byte[] b ) throws IOException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderExceptionSupport.java

    import java.io.Serializable;
    
    @UsedByScanPlugin
    public interface PlaceholderExceptionSupport extends Serializable {
    
        StackTraceElement[] getStackTrace();
    
        String getExceptionClassName();
    
        String getMessage();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 930 bytes
    - Viewed (0)
Back to top