class Ideone {
  public static void main(String[] args) {
    int x = 10;
    calculateX(x);
  }

  private static void calculateX(int x) {
    try {
      throw new ArithmeticException("" +
          "divide by 0");
    } catch (Exception e) {
      throw new RuntimeException("Run time error "
          + e.getMessage()
          , e);
    }
  }
}