We need to figure out how to do the exception handling nicely and consistently. _Originally posted by @MarcellPerger1 in https://github.com/MarcellPerger1/MathExprCalculatorJava/issues/2#issuecomment-2067725215_