@Override public void onFailure(IMqttToken asyncActionToken,Throwable exception){
  exception.printStackTrace();
  Log.e("TrafficService","Error connecting: " + exception.getMessage());
  onDisconnect(false);
}

@ Override public void onFailure ( IMqttToken asyncActionToken , Throwable exception ) { exception . printStackTrace ( ) ; Log . e ( "TrafficService" , "Error connecting: " + exception . getMessage ( ) ) ; onDisconnect ( false ) ; }
called when there was an error connecting
