class MonitorDepth {
  private String objName;
  private int depth;

  MonitorDepth(String s, int d) {
    objName = s;
    depth = d;
  }

  protected String getObjName() {
    return objName;
  }

  protected void SetObjName(String s) {
    objName = s;
  }

  protected int getDepth() {
    return depth;
  }

  protected void setDepth(int d) {
    depth = d;
  }

  protected void decreaseDepth() {<FILL_FUNCTION_BODY>}

  protected void increaseDepth() {
    depth++;
  }

}

    if (depth > 0) {
      depth = depth - 1;
    } else {
      throw new RuntimeException("Error! You can not decrease a monitor depth of " + depth);
    }
  
<no_super_class>