public void recordThrowable(@NotNull Throwable throwable){
  if (myTraces == null) {
    myTraces=new ArrayList<Throwable>();
  }
  myTraces.add(throwable);
}

public void recordThrowable ( @ NotNull Throwable throwable ) { if ( myTraces == null ) { myTraces = new ArrayList < Throwable > ( ) ; } myTraces . add ( throwable ) ; }
record that the given exception was encountered during rendering
