Pattern Matching vs. Exception Handling