Skip to content

Commit 0a8e293

Browse files
authored
Update DeleteEventsCmd.java
1 parent cea607d commit 0a8e293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/org/apache/cloudstack/api/command/user/event/DeleteEventsCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void execute() {
101101
SuccessResponse response = new SuccessResponse(getCommandName());
102102
setResponseObject(response);
103103
} else {
104-
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Unable to delete any events. One or more parameters have invalid values.");
104+
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Unable to delete any events. No events found matching the specified criteria.");
105105
}
106106
}
107107
}

0 commit comments

Comments
 (0)