public MathContext (int setPrecision, RoundingMode setRoundingMode)

Constructs a new MathContext with a specified precision and rounding mode.

Parameters:
setPrecision    The non-negative int precision setting.
setRoundingMode    The rounding mode to use.

Exceptions:
IllegalArgumentException    if the setPrecision parameter is less than zero.
NullPointerException    if the rounding mode argument is null