scala

class MatchError

[source: scala/MatchError.scala]

final class MatchError(msg : String)
extends RuntimeException with AnyRef
This class implements errors which are thrown whenever an object doesn't match any pattern of a pattern matching expression.
Author
Matthias Zenger
Martin Odersky
Version
1.1, 05/03/2004
Additional Constructor Summary
def this (obj : Any) : MatchError
Methods inherited from Throwable
getMessage, getLocalizedMessage, getCause, initCause, toString, printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getStackTrace, 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