Constructs a new MathException with specified
nested Throwable root cause.
Parameters: rootCause - the exception or error that caused this exceptionto be thrown.
Constructs a new MathException with specified
detail message and nested Throwable root cause.
Parameters: msg - the error message. Parameters: rootCause - the exception or error that caused this exceptionto be thrown.