class ImplicitNotFound extends Exception
This is a flag that indicates whether to eliminate implicits that cannot be satisfied within the current scope. For example, if an implicit conversion requires that there is a Numeric[T] in scope:
class A[T] class B extends A[Int] class C extends A[String] implicit def enrichA[T: Numeric](a: A[T]): D
For B, no constraints are generated as Numeric[Int] is already in the default scope. On the other hand, for the conversion from C to D, depending on -implicits-show-all, the conversion can:
- not be generated at all, since there's no Numeric[String] in scope (if ran without -implicits-show-all)
- generated with a *weird* constraint, Numeric[String] as the user might add it by hand (if flag is enabled)
- Alphabetic
- By Inheritance
- ImplicitNotFound
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- by RichException
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ImplicitNotFound(tpe: Global.Type)
Value Members
-
final
def
addSuppressed(arg0: java.lang.Throwable): Unit
- Definition Classes
- Throwable
-
def
fillInStackTrace(): java.lang.Throwable
- Definition Classes
- Throwable
-
def
getCause(): java.lang.Throwable
- Definition Classes
- Throwable
-
def
getLocalizedMessage(): String
- Definition Classes
- Throwable
-
def
getMessage(): String
- Definition Classes
- Throwable
-
def
getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
-
final
def
getSuppressed(): Array[java.lang.Throwable]
- Definition Classes
- Throwable
-
def
initCause(arg0: java.lang.Throwable): java.lang.Throwable
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(): Unit
- Definition Classes
- Throwable
-
def
setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
-
def
toString(): String
- Definition Classes
- Throwable → AnyRef → Any
Deprecated Value Members
-
def
getStackTraceString: String
- Implicit
- This member is added by an implicit conversion from (ModelFactoryImplicitSupport.this)#ImplicitNotFound to RichException performed by method RichException in scala.Predef.
- Definition Classes
- RichException
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use Throwable#getStackTrace
The Scala compiler and reflection APIs.