class BinaryTreeDepth {

  public int get(BinaryNode root) {
    if (root == null) {
      throw new IllegalArgumentException("You can't pass a null BinaryNode as parameter");
    }
    return getInner(root);
  }

}