public MathContext (int setPrecision)

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

Parameters:
setPrecision    The non-negative int precision setting.

Exceptions:
IllegalArgumentException    if the setPrecision parameter is less than zero.