
sbt.internal.inc.Errors.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zinc-lm-integration_2.12 Show documentation
Show all versions of zinc-lm-integration_2.12 Show documentation
sbt is an interactive build tool
The newest version!
/*
* sbt
* Copyright 2023, Scala center
* Copyright 2011 - 2022, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
* Licensed under Apache License 2.0 (see LICENSE)
*/
package sbt.internal.inc
class InvalidComponent(msg: String, cause: Throwable) extends RuntimeException(msg, cause) {
def this(msg: String) = this(msg, null)
}
final class MissingScalaJar(msg: String, cause: Throwable) extends RuntimeException(msg, cause) {
def this(msg: String) = this(msg, null)
}
object MissingScalaJar {
def missingTemplate(missing: String): String =
s"The $missing could not be found in your cache nor downloaded from the Internet."
def compiler: MissingScalaJar = new MissingScalaJar(missingTemplate("Scala compiler"))
def library: MissingScalaJar = new MissingScalaJar(missingTemplate("Scala library"))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy