Package java.lang

Examples of java.lang.ArithmeticException


  }
 
    /* to other numeric types */
  public int intValue() {
    if ((this.flags & DEC_SPECIAL) != 0) {
      throw new ArithmeticException("no valid integer value");
    }
    return this.value.intValue();
  }
View Full Code Here


    return this.value.intValue();
  }
 
  public long longValue() {
    if ((this.flags & DEC_SPECIAL) != 0) {
      throw new ArithmeticException("no valid long value");
    }
    return this.value.longValue();
  }
View Full Code Here

TOP

Related Classes of java.lang.ArithmeticException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.