public void sendException(final Exception exception,final Map<String,String> properties){
  final PropertyMapBuilder builder=new PropertyMapBuilder(properties);
  logger.debug(String.format("sendException(%s, %s)",exception.getMessage(),builder.toString()));
  if (telemetryClient != null) {
    telemetryClient.trackException(exception,builder.build(),null);
  }
}

public void sendException ( final Exception exception , final Map < String , String > properties ) { final PropertyMapBuilder builder = new PropertyMapBuilder ( properties ) ; logger . debug ( String . format ( "sendException(%s, %s)" , exception . getMessage ( ) , builder . toString ( ) ) ) ; if ( telemetryClient != null ) { telemetryClient . trackException ( exception , builder . build ( ) , null ) ; } }
call sendexception to track an exception that occurred that should be tracked .
