public void testConstrCharIntIntMathContextException1(){
  char value[]={'-','1','2','3','8','0','.','4','7','3','8','E','-','4','2','3'};
  int offset=3;
  int len=120;
  int precision=4;
  RoundingMode rm=RoundingMode.CEILING;
  MathContext mc=new MathContext(precision,rm);
  try {
    new BigDecimal(value,offset,len,mc);
    fail("NumberFormatException has not been thrown");
  }
 catch (  NumberFormatException e) {
  }
}

public void testConstrCharIntIntMathContextException1 ( ) { char value [ ] = { '-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' } ; int offset = 3 ; int len = 120 ; int precision = 4 ; RoundingMode rm = RoundingMode . CEILING ; MathContext mc = new MathContext ( precision , rm ) ; try { new BigDecimal ( value , offset , len , mc ) ; fail ( "NumberFormatException has not been thrown" ) ; } catch ( NumberFormatException e ) { } }
new bigdecimal ( char [ ] value , int offset , int len , mathcontext mc ) ;
