static BOSHClientConnEvent createConnectionClosedOnErrorEvent ( final BOSHClient source , final List < ComposableBody > outstanding , final Throwable cause ) { return new BOSHClientConnEvent ( source , false , outstanding , cause ) ; }
Creates a connection closed on error event . This represents an unexpected termination of the client session .