@Override
  public void printStackTrace() {
    super.printStackTrace();

    if (encapsulatedException != null) {
      System.err.println("*** Nested Exception:");
      encapsulatedException.printStackTrace();
    }
  }
@Override
  public void printStackTrace()