BuildException

scala.build.errors.BuildException
abstract class BuildException(val message: String, val positions: Seq[Position], cause: Throwable) extends Exception with Diagnostic

Attributes

Graph
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def maybeRecoverWithDefault[T](default: T, maybeRecoverFunction: BuildException => Option[BuildException]): Either[BuildException, T]

Attributes

T

type of the default value

default

default value returned as a Right instance on recovery

maybeRecoverFunction

potential recovery function, returns None on recovery and Some(identity(_)) otherwise

Returns:

Right(default) on recovery, Left(buildException) otherwise

final override def severity: Severity

Attributes

Definition Classes

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def textEdit: Option[TextEdit]

Attributes

Inherited from:
Diagnostic
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Inherited from:
Throwable

Concrete fields

override val message: String
override val positions: Seq[Position]