@Deprecated
public class MatchError
extends java.util.NoSuchElementException
API.Match
throws a MatchError if no case matches the applied object.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getObject()
Deprecated.
Returns the object which could not be matched.
|