private void reportExceptionThrow(Element element,Throwable t){
  if (element != null) {
    logMessage("throw for %s:\n",element);
  }
  logException(t);
  errorMessage(element,"Exception throw during processing: %s %s",t,Arrays.toString(Arrays.copyOf(t.getStackTrace(),4)));
}

private void reportExceptionThrow ( Element element , Throwable t ) { if ( element != null ) { logMessage ( "throw for %s:\n" , element ) ; } logException ( t ) ; errorMessage ( element , "Exception throw during processing: %s %s" , t , Arrays . toString ( Arrays . copyOf ( t . getStackTrace ( ) , 4 ) ) ) ; }
bugs in an annotation processor can cause silent failure so try to report any exception throws as errors .
