scala.NotImplementedError.scala Maven / Gradle / Ivy
/*
* Scala (https://www.scala-lang.org)
*
* Copyright EPFL and Lightbend, Inc.
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*
* See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*/
package scala
/** Throwing this exception can be a temporary replacement for a method
* body that remains to be implemented. For instance, the exception is thrown by
* `Predef.???`.
*/
final class NotImplementedError(msg: String) extends Error(msg) {
def this() = this("an implementation is missing")
}