A BuildCancelledException is thrown when a build is interrupted due to cancellation request.
BuildCancelledException