@Deprecated
  public List<Exception> getErrors() {
    List<Exception> errors = new ArrayList<Exception>();
    if (innerThrowables == null) {
      return errors;
    }

    for (Throwable cause : innerThrowables) {
      if (cause instanceof Exception) {
        errors.add((Exception) cause);
      } else {
        errors.add(new Exception(cause));
      }
    }
    return errors;
  }
@ Deprecated public List < Exception > getErrors ( ) { List < Exception > errors = new ArrayList < Exception > ( ) ; if ( innerThrowables == null ) { return errors ; } for ( Throwable cause : innerThrowables ) { if ( cause instanceof Exception ) { errors . add ( ( Exception ) cause ) ; } else { errors . add ( new Exception ( cause ) ) ; } } return errors ; }
@deprecated Please use {@link #getInnerThrowables()} instead.