Skip to content

Commit

Permalink
Removed all @throw in comments as they were never used consistently /…
Browse files Browse the repository at this point in the history
… correctly
  • Loading branch information
henricasanova committed Oct 10, 2024
1 parent 4517f62 commit 80c9922
Show file tree
Hide file tree
Showing 81 changed files with 3 additions and 1,409 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ set(SOURCE_FILES
include/wrench/services/compute/batch/batch_schedulers/BatchScheduler.h
include/wrench/services/compute/batch/batch_schedulers/homegrown/HomegrownBatchScheduler.h
include/wrench/services/storage/storage_helpers/FileTransferThread.h
include/wrench/services/storage/storage_helpers/LogicalFileSystem.h
include/wrench/services/storage/storage_helpers/LogicalFileSystemNoCaching.h
include/wrench/services/storage/storage_helpers/LogicalFileSystemLRUCaching.h
src/wrench/logging/TerminalOutput.cpp
Expand Down Expand Up @@ -372,9 +371,6 @@ set(SOURCE_FILES
src/wrench/services/storage/storage_helper_classes/FileLocation.cpp
src/wrench/services/storage/storage_helper_classes/FileTransferThread.cpp
include/wrench/services/storage/storage_helpers/FileTransferThreadMessage.h
src/wrench/services/storage/storage_helper_classes/LogicalFileSystem.cpp
src/wrench/services/storage/storage_helper_classes/LogicalFileSystemNoCaching.cpp
src/wrench/services/storage/storage_helper_classes/LogicalFileSystemLRUCaching.cpp
src/wrench/simgrid_S4U_util/S4U_Daemon.cpp
src/wrench/simgrid_S4U_util/S4U_DaemonActor.cpp
include/wrench/simgrid_S4U_util/S4U_DaemonActor.h
Expand Down
1 change: 0 additions & 1 deletion examples/action_api/XRootD/Controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int Controller::main() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int TwoActionsAtATimeExecutionController::main() {
/* Initialize and seed a RNG */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int GreedyExecutionController::main() {
/* Initialize and seed a RNG */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int BatchMPIActionController::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int GreedyExecutionController::main() {
/* Initialize and seed a RNG */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int CommunicatingActionsController::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int JobActionFailureController::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int MultiActionMultiJobController::main() {
/* Set the logging output to GREEN */
Expand Down
1 change: 0 additions & 1 deletion examples/action_api/storage-service-proxy/Controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int Controller::main() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int SuperCustomActionController::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int TwoTasksAtATimeWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int WorkflowAsAsingleJobWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int OneTaskAtATimeWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int ComplexJobWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int DataMovementWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int OneTaskAtATimeWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int TwoTasksAtATimeBatchWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int PilotJobWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int TwoTasksAtATimeCloudWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int TwoTasksAtATimeCloudWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int ConcurrentPipelineWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int NFSPipelineWMS::main() {
/* Set the logging output to GREEN */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int TwoTasksAtATimeVirtualizedClusterWMS::main() {
/* Set the logging output to GREEN */
Expand Down
1 change: 0 additions & 1 deletion examples/workflow_api/real-workflow-example/SimpleWMS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ namespace wrench {
*
* @return 0 on completion
*
* @throw std::runtime_error
*/
int SimpleWMS::main() {
TerminalOutput::setThisProcessLoggingColor(TerminalOutput::COLOR_GREEN);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ namespace wrench {
* @param tosend: message to be sent
* @return a simulation message
*
* @throw std::runtime_error
*/
std::shared_ptr<TMessageType> sendRequestAndWaitForAnswer(S4U_CommPort *answer_commport, ComputeServiceMessage *tosend) {
serviceSanityCheck();
Expand Down
Loading

0 comments on commit 80c9922

Please sign in to comment.