Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OnError (0.11 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/AbstractProblemsListener.kt

    import org.gradle.internal.configuration.problems.StructuredMessageBuilder
    import java.io.IOException
    
    
    abstract class AbstractProblemsListener : ProblemsListener {
    
        override fun onError(trace: PropertyTrace, error: Exception, message: StructuredMessageBuilder) {
            // Let IO and configuration cache exceptions surface to the top.
            if (error is IOException || error is ConfigurationCacheThrowable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt

                    try {
                        writeClass(update.javaClass)
                        write(update.key)
                        write(update.value)
                    } catch (error: Exception) {
                        onError(error) {
                            text("failed to write system property ")
                            reference(keyString)
                        }
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

            override var trace: PropertyTrace
                get() = undefined()
                set(_) {}
    
            override fun onProblem(problem: PropertyProblem): Unit =
                undefined()
    
            override fun onError(error: Exception, message: StructuredMessageBuilder) =
                undefined()
    
            override fun push(codec: Codec<Any?>): Unit =
                undefined()
    
            override fun push(owner: IsolateOwner): Unit =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

            return object : AbstractProblemsListener() {
                override fun onProblem(problem: PropertyProblem) {
                    onProblem(problem, ProblemSeverity.Suppressed)
                }
    
                override fun onError(trace: PropertyTrace, error: Exception, message: StructuredMessageBuilder) {
                    val failure = failureFactory.create(error)
                    onProblem(PropertyProblem(trace, StructuredMessage.build(message), error, failure))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top