a publish action was unsuccessful , notify user and update client history concode_field_sep Context context concode_elem_sep Action action concode_elem_sep String clientHandle concode_elem_sep String[] additionalArgs concode_field_sep void disconnect concode_elem_sep void disconnect concode_elem_sep void subscribe concode_elem_sep void subscribe concode_elem_sep void unsubscribe concode_elem_sep void unsubscribe concode_elem_sep void onFailure concode_elem_sep void connect concode_elem_sep void connect concode_elem_sep void onSuccess
void function ( Throwable arg0 ) { Connection loc0 = Connections . getInstance ( context ) . getConnection ( clientHandle ) ; String loc1 = context . getString ( R . string . toast_pub_failed , ( Object [ ] ) additionalArgs ) ; loc0 . addAction ( loc1 ) ; Notify . toast ( context , loc1 , Toast . LENGTH_SHORT ) ; }