3 ms·The pattern match error can be detected at compile time. The NPE is not.by kscaldef 17y agoThe pattern match error can be detected at compile time. The NPE is not.