public class MatchError extends NoSuchElementException
API.Match
throws a MatchError if no case matches the applied object.Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the object which could not be matched.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Object getObject()
Copyright © 2019. All Rights Reserved.