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, toStringpublic Object getObject()
Copyright © 2021. All Rights Reserved.