Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for maybeUnwrapInvocationTargetException (0.47 sec)

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

    package org.gradle.internal.cc.impl.problems
    
    import org.gradle.internal.cc.impl.ConfigurationCacheError
    import org.gradle.internal.cc.impl.ConfigurationCacheThrowable
    import org.gradle.internal.extensions.stdlib.maybeUnwrapInvocationTargetException
    import org.gradle.internal.configuration.problems.ProblemsListener
    import org.gradle.internal.configuration.problems.PropertyTrace
    import org.gradle.internal.configuration.problems.StructuredMessage
    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/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/ExceptionExtensions.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.extensions.stdlib
    
    import java.lang.reflect.InvocationTargetException
    
    
    fun Throwable.maybeUnwrapInvocationTargetException() =
        if (this is InvocationTargetException) targetException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 845 bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

        "kotlin-dsl:$scriptPath:$stage"
    
    
    private
    fun locationAwareExceptionHandlingFor(e: Throwable, scriptClass: Class<*>, scriptSource: ScriptSource): Nothing {
        val targetException = maybeUnwrapInvocationTargetException(e)
        val locationAware = locationAwareExceptionFor(targetException, scriptClass, scriptSource)
        throw locationAware ?: targetException
    }
    
    
    private
    fun locationAwareExceptionFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top