Try to convert the given string (entered by the user) to a value.
If a ParseException is thrown, it failed the Mask rules.
So catch and see if we should allow empty/null value and check to see if it was empty/null value.
Methods inherited from javax.swing.text.NumberFormatter