Packages

c

scala.tools.util

SystemExit

final case class SystemExit(code: Int) extends ControlThrowable with Product with Serializable

This class exists to replace existing calls to System.exit or sys.exit in the compiler. It is recommended to avoid using this class where possible, and instead use a design that does not require terminating the JVM.

code

the exit code

Source
SystemExit.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SystemExit
  2. Product
  3. Equals
  4. ControlThrowable
  5. Throwable
  6. Serializable
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SystemExit(code: Int)

    code

    the exit code

Value Members

  1. final def addSuppressed(arg0: java.lang.Throwable): Unit
    Definition Classes
    Throwable
  2. val code: Int
  3. def fillInStackTrace(): java.lang.Throwable
    Definition Classes
    Throwable
  4. def getCause(): java.lang.Throwable
    Definition Classes
    Throwable
  5. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  6. def getMessage(): String
    Definition Classes
    Throwable
  7. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  8. final def getSuppressed(): Array[java.lang.Throwable]
    Definition Classes
    Throwable
  9. def initCause(arg0: java.lang.Throwable): java.lang.Throwable
    Definition Classes
    Throwable
  10. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  11. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  12. def printStackTrace(): Unit
    Definition Classes
    Throwable
  13. def productElementNames: Iterator[String]
    Definition Classes
    Product
  14. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  15. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any