class MatchError

[source: scala/MatchError.scala]

final class MatchError(msg : java.lang.String)
extends java.lang.RuntimeException with AnyRef
This class implements errors which are thrown whenever an object doesn't match any pattern of a pattern matching expression.
Matthias Zenger
Martin Odersky
1.1, 05/03/2004
Additional Constructor Summary
def this (obj : Any) : MatchError
Methods inherited from java.lang.Throwable
java.lang.Throwable.getMessage, java.lang.Throwable.getLocalizedMessage, java.lang.Throwable.getCause, java.lang.Throwable.initCause, java.lang.Throwable.toString, java.lang.Throwable.printStackTrace, java.lang.Throwable.printStackTrace, java.lang.Throwable.printStackTrace, java.lang.Throwable.fillInStackTrace, java.lang.Throwable.getStackTrace, java.lang.Throwable.setStackTrace
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Additional Constructor Details
def this(obj : Any) : MatchError